Java Doc for D3DContext.java in  » 6.0-JDK-Platform » windows » sun » java2d » d3d » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Platform » windows » sun.java2d.d3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   sun.java2d.d3d.D3DContext

D3DContext
public class D3DContext (Code)


Field Summary
final public static  intJ2D_D3D_BM_TEXTURE_SURFACE_OK
    
final public static  intJ2D_D3D_DEPTH_SURFACE_OK
    
final public static  intJ2D_D3D_DEVICE_OK
    
final public static  intJ2D_D3D_ENABLED_OK
    
final public static  intJ2D_D3D_FAILURE
     This is a list of capabilities supported by the device this context is associated with.
final public static  intJ2D_D3D_HW_OK
    
final public static  intJ2D_D3D_LINES_OK
    
final public static  intJ2D_D3D_LINE_CLIPPING_OK
     Device can render clipped lines correctly.
final public static  intJ2D_D3D_OP_RTT_SURFACE_OK
    
final public static  intJ2D_D3D_OP_TEXTURE_SURFACE_OK
    
final public static  intJ2D_D3D_PIXEL_FORMATS_OK
    
final public static  intJ2D_D3D_PLAIN_SURFACE_OK
    
final public static  intJ2D_D3D_SET_TRANSFORM_OK
    
final public static  intJ2D_D3D_TEXTURE_BLIT_OK
    
final public static  intJ2D_D3D_TEXTURE_TRANSFORM_OK
    
final public static  intJ2D_D3D_TR_TEXTURE_SURFACE_OK
    
static  ObjectLOCK
     The lock object used to synchronize access to the native windowing system layer.
final public static  intNO_CONTEXT_FLAGS
    
final public static  intSRC_IS_OPAQUE
     Used in D3DBlitLoops: if the source surface is opaque alpha blending can be turned off on the native level (if there's no ea), thus improving performance.
protected  longnativeContext
    

Constructor Summary
public  D3DContext(Win32GraphicsDevice gd)
    

Method Summary
static  longgetContext(SurfaceData srcData, SurfaceData dstData, Region clip, Composite comp, AffineTransform xform, int pixel, int flags)
     Fetches the D3DContext associated with the current thread/GraphicsConfig pair, validates the context using the given parameters, then returns the handle to the native context object.
public  intgetDeviceCaps()
    
 longgetNativeContext()
     Returns a handle to the native D3DContext structure associated with this object.
 booleanisRTTSupported()
    
 voidreinitNativeContext()
     Reinitializes the context by retrieving a pointer to the native D3DContext object, and resetting the device caps.

Field Detail
J2D_D3D_BM_TEXTURE_SURFACE_OK
final public static int J2D_D3D_BM_TEXTURE_SURFACE_OK(Code)
Device supports creation of bitmask textures



J2D_D3D_DEPTH_SURFACE_OK
final public static int J2D_D3D_DEPTH_SURFACE_OK(Code)
Device supports depth buffer for d3d render targets



J2D_D3D_DEVICE_OK
final public static int J2D_D3D_DEVICE_OK(Code)
Device has all hw capabilities the d3d pipeline requires



J2D_D3D_ENABLED_OK
final public static int J2D_D3D_ENABLED_OK(Code)
Direct3D pipeline is enabled on this device



J2D_D3D_FAILURE
final public static int J2D_D3D_FAILURE(Code)
This is a list of capabilities supported by the device this context is associated with.
See Also:   getDeviceCaps



J2D_D3D_HW_OK
final public static int J2D_D3D_HW_OK(Code)
The device is not from a list of known bad devices (see D3DRuntimeTest.cpp)



J2D_D3D_LINES_OK
final public static int J2D_D3D_LINES_OK(Code)
Device can render lines correctly (no pixelization issues)



J2D_D3D_LINE_CLIPPING_OK
final public static int J2D_D3D_LINE_CLIPPING_OK(Code)
Device can render clipped lines correctly.



J2D_D3D_OP_RTT_SURFACE_OK
final public static int J2D_D3D_OP_RTT_SURFACE_OK(Code)
Device supports creation of opaque render-to-textures



J2D_D3D_OP_TEXTURE_SURFACE_OK
final public static int J2D_D3D_OP_TEXTURE_SURFACE_OK(Code)
Device supports creation of opaque textures



J2D_D3D_PIXEL_FORMATS_OK
final public static int J2D_D3D_PIXEL_FORMATS_OK(Code)
Device supports all necessary texture formats required by d3d pipeline



J2D_D3D_PLAIN_SURFACE_OK
final public static int J2D_D3D_PLAIN_SURFACE_OK(Code)
Device supports creation of plain d3d surfaces



J2D_D3D_SET_TRANSFORM_OK
final public static int J2D_D3D_SET_TRANSFORM_OK(Code)
Device supports geometry transformations



J2D_D3D_TEXTURE_BLIT_OK
final public static int J2D_D3D_TEXTURE_BLIT_OK(Code)
Device supports texture mapping (no pixelization issues)



J2D_D3D_TEXTURE_TRANSFORM_OK
final public static int J2D_D3D_TEXTURE_TRANSFORM_OK(Code)
Device supports texture mapping with transforms (no pixelization issues)



J2D_D3D_TR_TEXTURE_SURFACE_OK
final public static int J2D_D3D_TR_TEXTURE_SURFACE_OK(Code)
Device supports creation of translucent textures



LOCK
static Object LOCK(Code)
The lock object used to synchronize access to the native windowing system layer. Note that rendering methods should always synchronize on D3DContext.LOCK before calling the D3DContext.getContext() method, or any other method that invokes native D3d commands. REMIND: in D3D case we should really be synchronizing on per-device basis.



NO_CONTEXT_FLAGS
final public static int NO_CONTEXT_FLAGS(Code)



SRC_IS_OPAQUE
final public static int SRC_IS_OPAQUE(Code)
Used in D3DBlitLoops: if the source surface is opaque alpha blending can be turned off on the native level (if there's no ea), thus improving performance.



nativeContext
protected long nativeContext(Code)




Constructor Detail
D3DContext
public D3DContext(Win32GraphicsDevice gd)(Code)




Method Detail
getContext
static long getContext(SurfaceData srcData, SurfaceData dstData, Region clip, Composite comp, AffineTransform xform, int pixel, int flags)(Code)
Fetches the D3DContext associated with the current thread/GraphicsConfig pair, validates the context using the given parameters, then returns the handle to the native context object. Most rendering operations will call this method first in order to prepare the native D3d layer before issuing rendering commands.



getDeviceCaps
public int getDeviceCaps()(Code)



getNativeContext
long getNativeContext()(Code)
Returns a handle to the native D3DContext structure associated with this object.



isRTTSupported
boolean isRTTSupported()(Code)



reinitNativeContext
void reinitNativeContext()(Code)
Reinitializes the context by retrieving a pointer to the native D3DContext object, and resetting the device caps.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.