Home
last modified time | relevance | path

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

12

/external/skia/tests/
DVkWrapTests.cpp32 GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig, in wrap_tex_test()
48 desc.fTextureHandle = (GrBackendObject) &backendCopy; in wrap_tex_test()
73 GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig, in wrap_rt_test()
92 desc.fRenderTargetHandle = (GrBackendObject)&backendCopy; in wrap_rt_test()
111 GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig, in wrap_trt_test()
128 desc.fTextureHandle = (GrBackendObject)&backendCopy; in wrap_trt_test()
DSurfaceTest.cpp166 static GrBackendObject get_surface_backend_texture_handle( in get_surface_backend_texture_handle()
170 static GrBackendObject get_surface_backend_render_target_handle( in get_surface_backend_render_target_handle()
172 GrBackendObject result; in get_surface_backend_render_target_handle()
181 GrBackendObject (*func)(SkSurface*, SkSurface::BackendHandleAccess)) { in test_backend_handle_access_copy_on_write()
182 GrBackendObject obj1 = func(surface, mode); in test_backend_handle_access_copy_on_write()
185 GrBackendObject obj2 = func(surface, mode); in test_backend_handle_access_copy_on_write()
230 GrBackendObject (*func)(SkSurface*, SkSurface::BackendHandleAccess)) { in test_backend_handle_unique_id()
232 GrBackendObject obj = func(surface, SkSurface::kFlushRead_BackendHandleAccess); in test_backend_handle_unique_id()
430 GrBackendObject textureHandle = image->getTextureHandle(false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
585 GrContext* context, int sampleCnt, uint32_t color, GrBackendObject* outTexture) { in create_gpu_surface_backend_texture()
[all …]
DEGLImageTest.cpp29 GrBackendObject handle = reinterpret_cast<GrBackendObject>(grbackendtex1); in cleanup()
136 externalDesc.fTextureHandle = reinterpret_cast<GrBackendObject>(&externalTexture); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/include/gpu/vk/
DGrVkTypes.h69 GrBackendObject getBackendObject() const override { in getBackendObject()
70 return reinterpret_cast<GrBackendObject>(&fInfo); in getBackendObject()
81 GR_STATIC_ASSERT(sizeof(GrBackendObject) >= sizeof(const GrVkImageInfo*));
/external/skia/include/gpu/gl/
DGrGLTypes.h125 GrBackendObject getBackendObject() const override { in getBackendObject()
126 return reinterpret_cast<GrBackendObject>(&fInfo); in getBackendObject()
136 GR_STATIC_ASSERT(sizeof(GrBackendObject) >= sizeof(const GrGLTextureInfo*));
/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.cpp177 GrBackendObject SkImage::getTextureHandle(bool flushPendingGrContextIO, in getTextureHandle()
188 GrBackendObject SkImage::getTextureHandle(bool, GrSurfaceOrigin*) const { return 0; } in getTextureHandle()
355 const GrBackendObject yuvTextureHandles[3], in MakeFromYUVTexturesCopy()
/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/include/core/
DSkImage.h144 const GrBackendObject yuvTextureHandles[3],
155 const GrBackendObject nv12TextureHandles[2],
231 GrBackendObject getTextureHandle(bool flushPendingGrContextIO,
DSkSurface.h216 GrBackendObject getTextureHandle(BackendHandleAccess);
224 bool getRenderTargetHandle(GrBackendObject*, BackendHandleAccess);
/external/skia/src/gpu/vk/
DGrVkGpu.h84 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
87 bool isTestingOnlyBackendTexture(GrBackendObject id) const override;
88 void deleteTestingOnlyBackendTexture(GrBackendObject id, bool abandonTexture) override;
DGrVkTexture.cpp146 GrBackendObject GrVkTexture::getTextureHandle() const { in getTextureHandle()
147 return (GrBackendObject)&fInfo; in getTextureHandle()
DGrVkTexture.h29 GrBackendObject getTextureHandle() const override;
/external/skia/include/gpu/
DGrExternalTextureData.h21 virtual GrBackendObject getBackendObject() const = 0;
DGrTexture.h29 virtual GrBackendObject getTextureHandle() const = 0;
DGrRenderTarget.h109 virtual GrBackendObject getRenderTargetHandle() const = 0;
DGrTypes.h602 typedef intptr_t GrBackendObject; typedef
735 GrBackendObject fTextureHandle;
770 GrBackendObject fRenderTargetHandle;
/external/skia/src/gpu/gl/
DGrGLTexture.cpp114 GrBackendObject GrGLTexture::getTextureHandle() const { in getTextureHandle()
115 return reinterpret_cast<GrBackendObject>(&fInfo); in getTextureHandle()
DGrGLRenderTarget.h62 GrBackendObject getRenderTargetHandle() const override { return fRTFBOID; } in getRenderTargetHandle()
DGrGLGpu.h135 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
138 bool isTestingOnlyBackendTexture(GrBackendObject) const override;
139 void deleteTestingOnlyBackendTexture(GrBackendObject, bool abandonTexture) override;
DGrGLTexture.h39 GrBackendObject getTextureHandle() const override;
/external/skia/tools/gpu/
DGrTest.cpp388 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h, in createTestingOnlyBackendTexture()
392 bool isTestingOnlyBackendTexture(GrBackendObject ) const override { return false; } in isTestingOnlyBackendTexture()
393 void deleteTestingOnlyBackendTexture(GrBackendObject, bool abandonTexture) override {} in deleteTestingOnlyBackendTexture() argument
/external/skia/src/gpu/
DGrGpu.h450 virtual GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
454 virtual bool isTestingOnlyBackendTexture(GrBackendObject) const = 0;
458 virtual void deleteTestingOnlyBackendTexture(GrBackendObject,

12