Home
last modified time | relevance | path

Searched refs:Surface (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/external/swiftshader/src/D3D9/
DCapabilities.cpp21 bool Capabilities::Surface::RenderTarget::NULL_ = true;
22 bool Capabilities::Surface::RenderTarget::R8G8B8 = false;
23 bool Capabilities::Surface::RenderTarget::R5G6B5 = true;
24 bool Capabilities::Surface::RenderTarget::X1R5G5B5 = true;
25 bool Capabilities::Surface::RenderTarget::A1R5G5B5 = true;
26 bool Capabilities::Surface::RenderTarget::A4R4G4B4 = true;
27 bool Capabilities::Surface::RenderTarget::R3G3B2 = false;
28 bool Capabilities::Surface::RenderTarget::A8R3G3B2 = false;
29 bool Capabilities::Surface::RenderTarget::X4R4G4B4 = true;
30 bool Capabilities::Surface::RenderTarget::A8R8G8B8 = true;
[all …]
DDirect3D9.cpp260 …case D3DFMT_NULL: if(!Capabilities::Surface::RenderTarget::NULL_) return NOTAVAILABLE(); else … in CheckDeviceFormat()
261 …case D3DFMT_R8G8B8: if(!Capabilities::Surface::RenderTarget::R8G8B8) return NOTAVAILABLE(); els… in CheckDeviceFormat()
262 …case D3DFMT_R5G6B5: if(!Capabilities::Surface::RenderTarget::R5G6B5) return NOTAVAILABLE(); els… in CheckDeviceFormat()
263 …case D3DFMT_X1R5G5B5: if(!Capabilities::Surface::RenderTarget::X1R5G5B5) return NOTAVAILABLE(); … in CheckDeviceFormat()
264 …case D3DFMT_A1R5G5B5: if(!Capabilities::Surface::RenderTarget::A1R5G5B5) return NOTAVAILABLE(); … in CheckDeviceFormat()
265 …case D3DFMT_A4R4G4B4: if(!Capabilities::Surface::RenderTarget::A4R4G4B4) return NOTAVAILABLE(); … in CheckDeviceFormat()
266 …case D3DFMT_R3G3B2: if(!Capabilities::Surface::RenderTarget::R3G3B2) return NOTAVAILABLE(); els… in CheckDeviceFormat()
267 …case D3DFMT_A8R3G3B2: if(!Capabilities::Surface::RenderTarget::A8R3G3B2) return NOTAVAILABLE(); … in CheckDeviceFormat()
268 …case D3DFMT_X4R4G4B4: if(!Capabilities::Surface::RenderTarget::X4R4G4B4) return NOTAVAILABLE(); … in CheckDeviceFormat()
269 …case D3DFMT_A8R8G8B8: if(!Capabilities::Surface::RenderTarget::A8R8G8B8) return NOTAVAILABLE(); … in CheckDeviceFormat()
[all …]
/external/swiftshader/src/OpenGL/libEGL/
DSurface.cpp42 Surface::Surface(const Display *display, const Config *config) : display(display), config(config) in Surface() function in egl::Surface
60 Surface::~Surface() in ~Surface()
62 Surface::deleteResources(); in ~Surface()
65 bool Surface::initialize() in initialize()
107 void Surface::deleteResources() in deleteResources()
128 egl::Image *Surface::getRenderTarget() in getRenderTarget()
138 egl::Image *Surface::getDepthStencil() in getDepthStencil()
148 void Surface::setSwapBehavior(EGLenum swapBehavior) in setSwapBehavior()
153 void Surface::setSwapInterval(EGLint interval) in setSwapInterval()
165 EGLint Surface::getConfigID() const in getConfigID()
[all …]
Dmain.h30 class Surface; variable
38 Surface *drawSurface;
39 Surface *readSurface;
54 void setCurrentDrawSurface(Surface *surface);
55 Surface *getCurrentDrawSurface();
57 void setCurrentReadSurface(Surface *surface);
58 Surface *getCurrentReadSurface();
79 class Surface; variable
DSurface.h34 class Surface : public gl::Object
67 Surface(const Display *display, const Config *config);
69 virtual ~Surface();
99 class WindowSurface : public Surface
121 class PBufferSurface : public Surface
DlibEGL.cpp81 static bool validateSurface(egl::Display *display, egl::Surface *surface) in validateSurface()
351 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in DestroySurface()
363 display->destroySurface((egl::Surface*)surface); in DestroySurface()
374 egl::Surface *eglSurface = (egl::Surface*)surface; in QuerySurface()
510 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in SurfaceAttrib()
545 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in BindTexImage()
587 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in ReleaseTexImage()
631 egl::Surface *draw_surface = static_cast<egl::Surface*>(egl::getCurrentDrawSurface()); in SwapInterval()
775 egl::Surface *drawSurface = static_cast<egl::Surface*>(draw); in MakeCurrent()
776 egl::Surface *readSurface = static_cast<egl::Surface*>(read); in MakeCurrent()
[all …]
DDisplay.h30 class Surface; variable
52 void destroySurface(Surface *surface);
59 bool isValidSurface(Surface *surface);
81 typedef std::set<Surface*> SurfaceSet;
DContext.hpp25 class Surface;
31 virtual void makeCurrent(Surface *surface) = 0;
32 virtual void bindTexImage(Surface *surface) = 0;
/external/swiftshader/src/OpenGL/libGL/
DSurface.cpp36 Surface::Surface(Display *display, NativeWindowType window) in Surface() function in gl::Surface
50 Surface::Surface(Display *display, GLint width, GLint height, GLenum textureFormat, GLenum textureT… in Surface() function in gl::Surface
65 Surface::~Surface() in ~Surface()
70 bool Surface::initialize() in initialize()
77 void Surface::release() in release()
95 bool Surface::reset() in reset()
116 bool Surface::reset(int backBufferWidth, int backBufferHeight) in reset()
159 void Surface::swap() in swap()
164 …frameBuffer->flip(source, backBuffer->Surface::getInternalFormat(), backBuffer->getInternalPitchB(… in swap()
171 Image *Surface::getRenderTarget() in getRenderTarget()
[all …]
Dmain.h36 Surface *drawSurface;
37 Surface *readSurface;
40 void makeCurrent(Context *context, Display *display, Surface *surface);
45 Surface *getCurrentDrawSurface();
46 Surface *getCurrentReadSurface();
50 void setCurrentDrawSurface(Surface *surface);
51 void setCurrentReadSurface(Surface *surface);
DDisplay.h48 void destroySurface(Surface *surface);
53 bool isValidSurface(Surface *surface);
59 virtual Surface *getPrimarySurface();
73 typedef std::set<Surface*> SurfaceSet;
DSurface.h41 class Surface
44 Surface(Display *display, NativeWindowType window);
45 Surface(Display *display, GLint width, GLint height, GLenum textureFormat, GLenum textureTarget);
47 virtual ~Surface();
/external/swiftshader/src/Renderer/
DSurface.hpp220 class Surface class
254 Surface(int width, int height, int depth, Format format, void *pixels, int pitch, int slice);
255Surface(Resource *texture, int width, int height, int depth, Format format, bool lockable, bool re…
257 virtual ~Surface();
307 void copyInternal(const Surface* src, int x, int y, float srcX, float srcY, bool filter);
308 …void copyInternal(const Surface* src, int x, int y, int z, float srcX, float srcY, float srcZ, boo…
476 void *Surface::lock(int x, int y, int z, Lock lock, Accessor client, bool internal) in lock()
481 void Surface::unlock(bool internal) in unlock()
486 int Surface::getWidth() const in getWidth()
491 int Surface::getHeight() const in getHeight()
[all …]
DBlitter.hpp78 …void clear(void* pixel, sw::Format format, Surface *dest, const SliceRect &dRect, unsigned int rgb…
79 …void blit(Surface *source, const SliceRect &sRect, Surface *dest, const SliceRect &dRect, bool fil…
80 void blit3D(Surface *source, Surface *dest);
89 …void blit(Surface *source, const SliceRect &sRect, Surface *dest, const SliceRect &dRect, const Bl…
90 …bool blitReactor(Surface *source, const SliceRect &sRect, Surface *dest, const SliceRect &dRect, c…
DRenderer.hpp229 Surface *renderTarget[RENDERTARGETS];
230 Surface *depthBuffer;
231 Surface *stencilBuffer;
321 …virtual void clear(void* pixel, Format format, Surface *dest, const SliceRect &dRect, unsigned int…
322 …virtual void blit(Surface *source, const SliceRect &sRect, Surface *dest, const SliceRect &dRect, …
323 virtual void blit3D(Surface *source, Surface *dest);
332 …virtual void setTextureLevel(unsigned int sampler, unsigned int face, unsigned int level, Surface
/external/deqp/framework/common/
DtcuSurface.cpp28 Surface::Surface (void) in Surface() function in Surface
34 Surface::Surface(int width, int height) in Surface() function in Surface
41 Surface::~Surface() in ~Surface()
52 void Surface::setSize (int width, int height) in setSize()
DtcuSurface.hpp44 class Surface class
47 Surface (void);
48 Surface (int width, int height);
49 ~Surface (void);
70 inline void Surface::setPixel (int x, int y, RGBA col) in setPixel()
87 inline RGBA Surface::getPixel (int x, int y) const in getPixel()
105 inline ConstPixelBufferAccess Surface::getAccess (void) const in getAccess()
111 inline PixelBufferAccess Surface::getAccess (void) in getAccess()
DtcuRasterizationVerifier.hpp122 bool verifyTriangleGroupRasterization (const tcu::Surface& surface, const TriangleSceneSpec& scene,…
133 bool verifyLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const R…
146 bool verifyClippedTriangulatedLineGroupRasterization (const tcu::Surface& surface, const LineSceneS…
157 bool verifyPointGroupRasterization (const tcu::Surface& surface, const PointSceneSpec& scene, const…
168 bool verifyTriangleGroupInterpolation (const tcu::Surface& surface, const TriangleSceneSpec& scene,…
179 LineInterpolationMethod verifyLineGroupInterpolation (const tcu::Surface& surface, const LineSceneS…
191 bool verifyTriangulatedLineGroupInterpolation (const tcu::Surface& surface, const LineSceneSpec& sc…
DtcuImageCompare.hpp33 class Surface;
47 …, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& res…
48 …, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& res…
49 …, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& res…
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.hpp32 class Surface;
53 virtual void render (tcu::Surface& dst) = DE_NULL;
54 virtual bool compare (const tcu::Surface& reference, const tcu::Surface& result);
59 …void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureF…
60 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
Des31fMultisampleShaderRenderCase.hpp33 class Surface;
89 void verifyResultImageAndSetResult (const tcu::Surface& resultImage);
90 void verifyResultBuffersAndSetResult (const std::vector<tcu::Surface>& resultBuffers);
96 virtual bool verifyImage (const tcu::Surface& resultImage) = 0;
97 virtual bool verifySampleBuffers (const std::vector<tcu::Surface>& resultBuffers);
/external/deqp/modules/gles3/functional/
Des3fFboTestCase.hpp32 class Surface;
53 virtual void render (tcu::Surface& dst) = DE_NULL;
54 virtual bool compare (const tcu::Surface& reference, const tcu::Surface& result);
59 …void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureF…
60 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
/external/deqp/modules/glshared/
DglsSamplerObjectTest.hpp72 void renderReferences (tcu::Surface& textureRef, tcu::Surface& samplerRef, int x, int y);
73 void renderResults (tcu::Surface& textureResult, tcu::Surface& samplerResult, int x, int y);
131 void renderReferences (tcu::Surface& textureRef, tcu::Surface& samplerRef, int x, int y);
132 void renderResults (tcu::Surface& textureResult, tcu::Surface& samplerResult, int x, int y);
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.hpp64 …virtual bool stretchRect(sw::Surface *sourceSurface, const sw::SliceRect *sourceRect, sw::Surface
65 virtual bool stretchCube(sw::Surface *sourceSurface, sw::Surface *destSurface);
75 bool validRectangle(const sw::Rect *rect, sw::Surface *surface);
/external/swiftshader/src/OpenGL/common/
DImage.hpp49 class Image : public sw::Surface, public gl::Object
54 …: sw::Surface(parentTexture->getResource(), width, height, 1, SelectInternalFormat(format, type), … in Image()
65 …: sw::Surface(parentTexture->getResource(), width, height, depth, SelectInternalFormat(format, typ… in Image()
76 : sw::Surface(nullptr, width, height, 1, SelectInternalFormat(format, type), true, true, pitchP), in Image()
86 : sw::Surface(nullptr, width, height, multiSampleDepth, internalFormat, lockable, true), in Image()
267 void *data = sw::Surface::lockInternal(x, y, z, lock, client); in lockInternal()
301 sw::Surface::unlockInternal(); in unlockInternal()
307 (void)sw::Surface::lockExternal(left, top, 0, lock, sw::PUBLIC); in lock()
318 sw::Surface::unlockExternal(); in unlock()

12345678910>>...12