Home
last modified time | relevance | path

Searched refs:currentDrawable (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/src/image/
DSkSurface_GpuMtl.mm54 id<CAMetalDrawable> currentDrawable = [metalLayer nextDrawable];
60 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture);
63 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture,
70 *drawable = (__bridge_retained GrMTLHandle) currentDrawable;
123 id<CAMetalDrawable> currentDrawable = [mtkView currentDrawable];
129 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture);
132 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture,
/third_party/skia/tools/sk_app/
DGraphiteMetalWindowContext.mm84 id<CAMetalDrawable> currentDrawable = [fMetalLayer nextDrawable];
88 // fbInfo.fTexture.retain(currentDrawable.texture);
101 fDrawableHandle = CFRetain((GrMTLHandle) currentDrawable);
107 id<CAMetalDrawable> currentDrawable = (id<CAMetalDrawable>)fDrawableHandle;
112 [commandBuffer presentDrawable:currentDrawable];
DMetalWindowContext.mm131 id<CAMetalDrawable> currentDrawable = [fMetalLayer nextDrawable];
134 fbInfo.fTexture.retain(currentDrawable.texture);
147 fDrawableHandle = CFRetain((GrMTLHandle) currentDrawable);
155 id<CAMetalDrawable> currentDrawable = (id<CAMetalDrawable>)fDrawableHandle;
160 [commandBuffer presentDrawable:currentDrawable];
/third_party/mesa3d/src/glx/apple/
Dapple_xgl_api_read.c67 && gc->currentReadable != gc->currentDrawable) { in SetRead()
76 gc->currentDrawable); in SetRead()
90 gc->currentDrawable)) { in UnsetRead()
/third_party/mesa3d/src/glx/
Dglxcurrent.c164 return gc->currentDrawable; in glXGetCurrentDrawable()
192 gc->currentDrawable == draw && gc->currentReadable == read) { in MakeContextCurrent()
229 gc->currentDrawable = draw; in MakeContextCurrent()
Dglxcmds.c853 Bool flush = gc != &dummyContext && drawable == gc->currentDrawable; in glXSwapBuffers()
871 ((drawable == gc->currentDrawable) in glXSwapBuffers()
1757 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXSwapIntervalSGI()
1808 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXSwapIntervalMESA()
1835 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXGetSwapIntervalMESA()
1894 if (!gc->currentDrawable) in glXGetVideoSyncSGI()
1897 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXGetVideoSyncSGI()
1934 if (!gc->currentDrawable) in glXWaitVideoSyncSGI()
1937 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXWaitVideoSyncSGI()
2382 ((drawable == gc->currentDrawable) || in glXCopySubBufferMESA()
Ddri_common.c395 gc->currentDrawable, (void *) &pdraw) == 0) { in driReleaseDrawables()
400 __glxHashDelete(priv->drawHash, gc->currentDrawable); in driReleaseDrawables()
416 gc->currentDrawable = None; in driReleaseDrawables()
Ddri3_glx.c452 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in dri3_wait_x()
462 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in dri3_wait_gl()
Dglxclient.h356 GLXDrawable currentDrawable; member
Ddri2_glx.c591 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in dri2_wait_x()
603 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in dri2_wait_gl()
Dglx_pbuffer.c294 (gc->currentDrawable != drawable && in __glXGetDrawableAttribute()
/third_party/skia/tools/skottie_ios_app/
DSkiaMetalContext.mm48 if (!viewController || ![[self currentDrawable] texture] || !fDContext) {
62 [commandBuffer presentDrawable:[self currentDrawable]];
/third_party/skia/tests/
DMtlCopySurfaceTest.mm33 id<CAMetalDrawable> drawable = [view currentDrawable];
/third_party/mesa3d/src/mesa/drivers/x11/
Dglxapi.h41 GLXDrawable currentDrawable; member
Dglxapi.c241 return gc ? gc->currentDrawable : 0; in glXGetCurrentDrawable()
/third_party/flutter/skia/third_party/externals/imgui/examples/example_apple_metal/Shared/
DRenderer.mm120 [commandBuffer presentDrawable:view.currentDrawable];
/third_party/skia/experimental/minimal_ios_mtl_skia_app/
Dmain.mm75 [commandBuffer presentDrawable:[view currentDrawable]];
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_api.c97 GLXDrawable currentDrawable; member
1225 ctx->currentDrawable = draw; in glXMakeContextCurrent()
1281 return gc ? gc->currentDrawable : 0; in glXGetCurrentDrawable()
/third_party/skia/third_party/externals/imgui/examples/example_apple_metal/
Dmain.mm212 [commandBuffer presentDrawable:view.currentDrawable];