Home
last modified time | relevance | path

Searched refs:GrBackendObject (Results 1 – 25 of 46) sorted by relevance

12

/external/skia/src/gpu/mock/
DGrMockGpu.cpp79 GrBackendObject GrMockGpu::createTestingOnlyBackendTexture(void* pixels, int w, int h, in createTestingOnlyBackendTexture()
84 return reinterpret_cast<GrBackendObject>(info); in createTestingOnlyBackendTexture()
87 bool GrMockGpu::isTestingOnlyBackendTexture(GrBackendObject object) const { in isTestingOnlyBackendTexture()
92 void GrMockGpu::deleteTestingOnlyBackendTexture(GrBackendObject object, bool abandonTexture) { in deleteTestingOnlyBackendTexture()
DGrMockTexture.h27 GrBackendObject getTextureHandle() const override { in getTextureHandle()
28 return reinterpret_cast<GrBackendObject>(&fInfo); in getTextureHandle()
65 GrBackendObject getRenderTargetHandle() const override { return 0; } in getRenderTargetHandle()
DGrMockGpu.h125 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h, GrPixelConfig,
128 bool isTestingOnlyBackendTexture(GrBackendObject) const override;
130 void deleteTestingOnlyBackendTexture(GrBackendObject, bool abandonTexture) override;
/external/skia/tests/
DSurfaceTest.cpp167 static GrBackendObject get_surface_backend_texture_handle( in get_surface_backend_texture_handle()
171 static GrBackendObject get_surface_backend_render_target_handle( in get_surface_backend_render_target_handle()
173 GrBackendObject result; in get_surface_backend_render_target_handle()
182 GrBackendObject (*func)(SkSurface*, SkSurface::BackendHandleAccess)) { in test_backend_handle_access_copy_on_write()
183 GrBackendObject obj1 = func(surface, mode); in test_backend_handle_access_copy_on_write()
186 GrBackendObject obj2 = func(surface, mode); in test_backend_handle_access_copy_on_write()
231 GrBackendObject (*func)(SkSurface*, SkSurface::BackendHandleAccess)) { in test_backend_handle_unique_id()
233 GrBackendObject obj = func(surface, SkSurface::kFlushRead_BackendHandleAccess); in test_backend_handle_unique_id()
431 GrBackendObject textureHandle = image->getTextureHandle(false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
586 GrContext* context, int sampleCnt, uint32_t color, GrBackendObject* outTexture) { in create_gpu_surface_backend_texture()
[all …]
DVkWrapTests.cpp34 GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig, in wrap_tex_test()
96 GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig, in wrap_rt_test()
128 GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig, in wrap_trt_test()
DEGLImageTest.cpp30 GrBackendObject handle = reinterpret_cast<GrBackendObject>(grbackendtex1); in cleanup()
DSurfaceSemaphoreTest.cpp55 const GrBackendObject& backendImage, in draw_child()
121 GrBackendObject backendImage = mainImage->getTextureHandle(false); in surface_semaphore_test()
/external/skia/src/image/
DSkSurface_Gpu.h22 GrBackendObject onGetTextureHandle(BackendHandleAccess) override;
23 bool onGetRenderTargetHandle(GrBackendObject*, BackendHandleAccess) override;
DSkSurface_Base.h22 virtual GrBackendObject onGetTextureHandle(BackendHandleAccess) { in onGetTextureHandle()
26 virtual bool onGetRenderTargetHandle(GrBackendObject*, BackendHandleAccess) { in onGetRenderTargetHandle() argument
DSkSurface.cpp178 GrBackendObject SkSurface::getTextureHandle(BackendHandleAccess access) { in getTextureHandle()
182 bool SkSurface::getRenderTargetHandle(GrBackendObject* obj, BackendHandleAccess access) { in getRenderTargetHandle()
DSkImage.cpp174 GrBackendObject SkImage::getTextureHandle(bool flushPendingGrContextIO, in getTextureHandle()
192 GrBackendObject SkImage::getTextureHandle(bool, GrSurfaceOrigin*) const { return 0; } in getTextureHandle()
374 const GrBackendObject yuvTextureHandles[3], in MakeFromYUVTexturesCopy()
/external/skia/include/gpu/gl/
DGrGLTypes.h116 GR_STATIC_ASSERT(sizeof(GrBackendObject) >= sizeof(const GrGLTextureInfo*));
122 GR_STATIC_ASSERT(sizeof(GrBackendObject) >= sizeof(const GrGLFramebufferInfo*));
/external/skia/src/gpu/mtl/
DGrMtlGpu.h132 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h, in createTestingOnlyBackendTexture()
136 bool isTestingOnlyBackendTexture(GrBackendObject ) const override { return false; } in isTestingOnlyBackendTexture() argument
137 void deleteTestingOnlyBackendTexture(GrBackendObject, bool abandonTexture) override {} in deleteTestingOnlyBackendTexture() argument
/external/skia/gm/
Dimagefromyuvtextures.cpp96 void createYUVTextures(GrContext* context, GrBackendObject yuvHandles[3]) { in createYUVTextures()
112 void deleteYUVTextures(GrContext* context, const GrBackendObject yuvHandles[3]) { in deleteYUVTextures()
144 GrBackendObject yuvHandles[3]; in onDraw()
/external/skia/src/gpu/vk/
DGrVkGpu.h85 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
88 bool isTestingOnlyBackendTexture(GrBackendObject id) const override;
89 void deleteTestingOnlyBackendTexture(GrBackendObject id, bool abandonTexture) override;
DGrVkTexture.cpp151 GrBackendObject GrVkTexture::getTextureHandle() const { in getTextureHandle()
152 return (GrBackendObject)&fInfo; in getTextureHandle()
DGrVkTexture.h28 GrBackendObject getTextureHandle() const override;
/external/skia/include/core/
DSkImage.h209 const GrBackendObject yuvTextureHandles[3],
220 const GrBackendObject nv12TextureHandles[2],
315 GrBackendObject getTextureHandle(bool flushPendingGrContextIO,
DSkSurface.h247 GrBackendObject getTextureHandle(BackendHandleAccess);
255 bool getRenderTargetHandle(GrBackendObject*, BackendHandleAccess);
/external/skia/src/gpu/gl/
DGrGLTexture.cpp114 GrBackendObject GrGLTexture::getTextureHandle() const { in getTextureHandle()
115 return reinterpret_cast<GrBackendObject>(&fInfo); in getTextureHandle()
/external/skia/tools/gpu/
DGrTest.h22 GrPixelConfig, GrBackendObject);
/external/skia/include/gpu/vk/
DGrVkTypes.h62 GR_STATIC_ASSERT(sizeof(GrBackendObject) >= sizeof(const GrVkImageInfo*));
/external/skia/src/gpu/
DGrGpu.h457 virtual GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
461 virtual bool isTestingOnlyBackendTexture(GrBackendObject) const = 0;
465 virtual void deleteTestingOnlyBackendTexture(GrBackendObject,
/external/skia/include/gpu/
DGrTexture.h28 virtual GrBackendObject getTextureHandle() const = 0;
DGrTypes.h569 typedef intptr_t GrBackendObject; typedef
699 GrBackendObject fTextureHandle;
734 GrBackendObject fRenderTargetHandle;

12