Java Doc for D3DSurfaceData.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) 


sun.java2d.windows.Win32OffScreenSurfaceData
   sun.java2d.d3d.D3DSurfaceData

All known Subclasses:   sun.java2d.d3d.D3DBackBufferSurfaceData,
D3DSurfaceData
public class D3DSurfaceData extends Win32OffScreenSurfaceData (Code)


Field Summary
final public static  SurfaceTypeD3DSurface
    
final public static  SurfaceTypeD3DTexture
    
final public static  intD3D_ATTACHED_SURFACE
    
final public static  intD3D_BACKBUFFER_SURFACE
     Direct3D Backbuffer surface - an attached surface.
final public static  intD3D_INVALID_SURFACE
    
final public static  intD3D_PLAIN_SURFACE
     Surface is a Direct3D plain surface (not a texture).
final public static  intD3D_RENDER_TARGET
     A surface with this property can be used as a Direct3D rendering destination.
final public static  intD3D_RTT_SURFACE
     Render-to-texture.
final public static  intD3D_TEXTURE_SURFACE
     Direct3D texture.
final public static  StringDESC_DEST_D3D
     Surface type for texture destination.
final public static  StringDESC_INT_ARGB_D3D
    
final public static  StringDESC_USHORT_4444_ARGB_D3D
    
final public static  SurfaceTypeIntArgbD3D
    
final public static  SurfaceTypeIntArgbD3D_RTT
    
final public static  SurfaceTypeIntRgbD3D
     D3D destination surface types (derive from offscreen dd surfaces).
final public static  SurfaceTypeIntRgbD3D_RTT
    
final public static  SurfaceTypeIntRgbxD3D
    
final public static  SurfaceTypeIntRgbxD3D_RTT
    
final public static  intPF_INT_ARGB
    
final public static  intPF_INT_ARGB_PRE
    
final public static  intPF_INT_BGR
    
final public static  intPF_INT_RGB
    
final public static  intPF_INT_RGBX
    
final public static  intPF_INVALID
    
final public static  intPF_USHORT_4444_ARGB
    
final public static  intPF_USHORT_555_RGB
    
final public static  intPF_USHORT_555_RGBX
    
final public static  intPF_USHORT_565_RGB
    
final public static  SurfaceTypeThreeByteBgrD3D
    
final public static  SurfaceTypeThreeByteBgrD3D_RTT
    
final public static  SurfaceTypeUshort4444ArgbD3D
    
final public static  SurfaceTypeUshort4444ArgbD3D_RTT
    
final public static  SurfaceTypeUshort555RgbD3D
    
final public static  SurfaceTypeUshort555RgbD3D_RTT
    
final public static  SurfaceTypeUshort555RgbxD3D
    
final public static  SurfaceTypeUshort555RgbxD3D_RTT
    
final public static  SurfaceTypeUshort565RgbD3D
    
final public static  SurfaceTypeUshort565RgbD3D_RTT
    
protected static  D3DDrawImaged3dDrawImagePipe
    
protected static  D3DRendererd3dPipe
    
protected static  D3DTextRendererd3dTextPipe
    
protected static  PixelToShapeConverterd3dTxPipe
    
protected  intpixelFormat
    
protected  inttype
    

Constructor Summary
protected  D3DSurfaceData(int width, int height, int d3dSurfaceType, SurfaceType sType, ColorModel cm, GraphicsConfiguration gc, Image image, int transparency)
     Non-public constructor.

Method Summary
public static  D3DSurfaceDatacreateData(int width, int height, int d3dSurfaceType, ColorModel cm, GraphicsConfiguration gc, Image image)
    
public  voiddisableD3D()
     Disables D3D acceleration on the surface manager of this surfaceData object.
 D3DContextgetContext()
    
 intgetPixelFormat()
    
static  SurfaceTypegetSurfaceType(GraphicsConfiguration gc, ColorModel cm, int d3dSurfaceType)
    
protected  intinitSurface(int width, int height, int screen, Win32SurfaceData parentData)
    
public  SurfaceDataProxymakeProxyFor(SurfaceData srcData)
    
public  booleansurfacePunted()
    
public  voidvalidatePipe(SunGraphics2D sg2d)
    

Field Detail
D3DSurface
final public static SurfaceType D3DSurface(Code)



D3DTexture
final public static SurfaceType D3DTexture(Code)



D3D_ATTACHED_SURFACE
final public static int D3D_ATTACHED_SURFACE(Code)
This property is used for a back-buffer surface



D3D_BACKBUFFER_SURFACE
final public static int D3D_BACKBUFFER_SURFACE(Code)
Direct3D Backbuffer surface - an attached surface. Used for multibuffered BufferStrategies.



D3D_INVALID_SURFACE
final public static int D3D_INVALID_SURFACE(Code)



D3D_PLAIN_SURFACE
final public static int D3D_PLAIN_SURFACE(Code)
Surface is a Direct3D plain surface (not a texture). Plain surface can be used as render target. VolatileImages typically use plain surfaces as their hardware accelerated surfaces.



D3D_RENDER_TARGET
final public static int D3D_RENDER_TARGET(Code)
A surface with this property can be used as a Direct3D rendering destination.



D3D_RTT_SURFACE
final public static int D3D_RTT_SURFACE(Code)
Render-to-texture. A texture which can also be a render target. Combines the benefits of textures (fast copies-from) and backbuffers or plain surfaces (hw-accelerated rendering to the surface)



D3D_TEXTURE_SURFACE
final public static int D3D_TEXTURE_SURFACE(Code)
Direct3D texture. Mostly used for cached accelerated surfaces. Surfaces of this type can be copied from using hardware acceleration by using texture mapping.



DESC_DEST_D3D
final public static String DESC_DEST_D3D(Code)
Surface type for texture destination. We cannot render textures to the screen because Direct3D is not clipped by the window's clip list, so we only enable the texture blit loops for copies to offscreen accelerated surfaces.



DESC_INT_ARGB_D3D
final public static String DESC_INT_ARGB_D3D(Code)



DESC_USHORT_4444_ARGB_D3D
final public static String DESC_USHORT_4444_ARGB_D3D(Code)



IntArgbD3D
final public static SurfaceType IntArgbD3D(Code)



IntArgbD3D_RTT
final public static SurfaceType IntArgbD3D_RTT(Code)



IntRgbD3D
final public static SurfaceType IntRgbD3D(Code)
D3D destination surface types (derive from offscreen dd surfaces). Note that all of these surfaces have the same surface description; we do not care about the depth of the surface since texture ops support multiple depths.



IntRgbD3D_RTT
final public static SurfaceType IntRgbD3D_RTT(Code)



IntRgbxD3D
final public static SurfaceType IntRgbxD3D(Code)



IntRgbxD3D_RTT
final public static SurfaceType IntRgbxD3D_RTT(Code)



PF_INT_ARGB
final public static int PF_INT_ARGB(Code)



PF_INT_ARGB_PRE
final public static int PF_INT_ARGB_PRE(Code)



PF_INT_BGR
final public static int PF_INT_BGR(Code)



PF_INT_RGB
final public static int PF_INT_RGB(Code)



PF_INT_RGBX
final public static int PF_INT_RGBX(Code)



PF_INVALID
final public static int PF_INVALID(Code)



PF_USHORT_4444_ARGB
final public static int PF_USHORT_4444_ARGB(Code)



PF_USHORT_555_RGB
final public static int PF_USHORT_555_RGB(Code)



PF_USHORT_555_RGBX
final public static int PF_USHORT_555_RGBX(Code)



PF_USHORT_565_RGB
final public static int PF_USHORT_565_RGB(Code)



ThreeByteBgrD3D
final public static SurfaceType ThreeByteBgrD3D(Code)



ThreeByteBgrD3D_RTT
final public static SurfaceType ThreeByteBgrD3D_RTT(Code)



Ushort4444ArgbD3D
final public static SurfaceType Ushort4444ArgbD3D(Code)



Ushort4444ArgbD3D_RTT
final public static SurfaceType Ushort4444ArgbD3D_RTT(Code)



Ushort555RgbD3D
final public static SurfaceType Ushort555RgbD3D(Code)



Ushort555RgbD3D_RTT
final public static SurfaceType Ushort555RgbD3D_RTT(Code)



Ushort555RgbxD3D
final public static SurfaceType Ushort555RgbxD3D(Code)



Ushort555RgbxD3D_RTT
final public static SurfaceType Ushort555RgbxD3D_RTT(Code)



Ushort565RgbD3D
final public static SurfaceType Ushort565RgbD3D(Code)



Ushort565RgbD3D_RTT
final public static SurfaceType Ushort565RgbD3D_RTT(Code)



d3dDrawImagePipe
protected static D3DDrawImage d3dDrawImagePipe(Code)



d3dPipe
protected static D3DRenderer d3dPipe(Code)



d3dTextPipe
protected static D3DTextRenderer d3dTextPipe(Code)



d3dTxPipe
protected static PixelToShapeConverter d3dTxPipe(Code)



pixelFormat
protected int pixelFormat(Code)



type
protected int type(Code)




Constructor Detail
D3DSurfaceData
protected D3DSurfaceData(int width, int height, int d3dSurfaceType, SurfaceType sType, ColorModel cm, GraphicsConfiguration gc, Image image, int transparency)(Code)
Non-public constructor. Use createData() to create an object. This constructor is used to house the common construction code shared between the creation of D3DSurfaceData objects and subclasses of D3DSurfaceData (such as D3DBackBufferSD). It calls the common constructor in the parent, and then initializes other shared D3D data.




Method Detail
createData
public static D3DSurfaceData createData(int width, int height, int d3dSurfaceType, ColorModel cm, GraphicsConfiguration gc, Image image)(Code)



disableD3D
public void disableD3D()(Code)
Disables D3D acceleration on the surface manager of this surfaceData object. This can happen when we encounter a hard error in rendering a D3D primitive (for example, if we were unable to set a surface as D3D target surface). Upon next validation the SurfaceManager will create a non-D3D surface.



getContext
D3DContext getContext()(Code)



getPixelFormat
int getPixelFormat()(Code)



getSurfaceType
static SurfaceType getSurfaceType(GraphicsConfiguration gc, ColorModel cm, int d3dSurfaceType)(Code)



initSurface
protected int initSurface(int width, int height, int screen, Win32SurfaceData parentData)(Code)



makeProxyFor
public SurfaceDataProxy makeProxyFor(SurfaceData srcData)(Code)



surfacePunted
public boolean surfacePunted()(Code)



validatePipe
public void validatePipe(SunGraphics2D sg2d)(Code)



Fields inherited from sun.java2d.windows.Win32OffScreenSurfaceData
protected static DDRenderer ddPipe(Code)(Java Doc)
protected static PixelToShapeConverter ddTxPipe(Code)(Java Doc)
protected GraphicsConfiguration graphicsConfig(Code)(Java Doc)
protected int height(Code)(Java Doc)
protected Image image(Code)(Java Doc)
protected RenderLoops solidloops(Code)(Java Doc)
protected int transparency(Code)(Java Doc)
protected int width(Code)(Java Doc)

Methods inherited from sun.java2d.windows.Win32OffScreenSurfaceData
public boolean copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy)(Code)(Java Doc)
public static Win32OffScreenSurfaceData createData(int width, int height, ColorModel cm, Win32GraphicsConfig gc, Image image, int transparency)(Code)(Java Doc)
protected void disableDD()(Code)(Java Doc)
native public void flush()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Object getDestination()(Code)(Java Doc)
public GraphicsConfiguration getDeviceConfiguration()(Code)(Java Doc)
public synchronized Raster getRaster(int x, int y, int w, int h)(Code)(Java Doc)
public RenderLoops getRenderLoops(SunGraphics2D sg2d)(Code)(Java Doc)
public SurfaceData getReplacement()(Code)(Java Doc)
public static SurfaceType getSurfaceType(ColorModel cm, int transparency)(Code)(Java Doc)
public int getTransparency()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public static boolean isDDScaleEnabled()(Code)(Java Doc)
public SurfaceDataProxy makeProxyFor(SurfaceData srcData)(Code)(Java Doc)
protected void markSurfaceLost()(Code)(Java Doc)
native protected void nativeInvalidate()(Code)(Java Doc)
native public void restoreSurface()(Code)(Java Doc)
native public void setTransparentPixel(int pixel)(Code)(Java Doc)
public boolean surfacePunted()(Code)(Java Doc)
public void validatePipe(SunGraphics2D sg2d)(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.