Home
last modified time | relevance | path

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

/external/skia/src/gpu/ganesh/surface/
DSkSurface_GaneshMtl.mm56 id<CAMetalDrawable> currentDrawable = [metalLayer nextDrawable];
62 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture);
68 currentDrawable.texture,
75 *drawable = (__bridge_retained GrMTLHandle)currentDrawable;
128 id<CAMetalDrawable> currentDrawable = [mtkView currentDrawable];
134 mtlGpu, desc.fDimensions, desc.fSampleCnt, currentDrawable.texture);
140 currentDrawable.texture,
/external/skia/tools/window/
DGraphiteNativeMetalWindowContext.mm96 id<CAMetalDrawable> currentDrawable = [fMetalLayer nextDrawable];
97 if (currentDrawable == nil) {
102 this->dimensions(), (CFTypeRef)currentDrawable.texture);
109 fDrawableHandle = CFRetain((CFTypeRef)currentDrawable);
117 id<CAMetalDrawable> currentDrawable = (id<CAMetalDrawable>)fDrawableHandle;
122 [commandBuffer presentDrawable:currentDrawable];
DMetalWindowContext.mm99 id<CAMetalDrawable> currentDrawable = [fMetalLayer nextDrawable];
100 if (currentDrawable == nil) {
105 fbInfo.fTexture.retain(currentDrawable.texture);
117 fDrawableHandle = CFRetain((GrMTLHandle) currentDrawable);
125 id<CAMetalDrawable> currentDrawable = (id<CAMetalDrawable>)fDrawableHandle;
130 [commandBuffer presentDrawable:currentDrawable];
/external/mesa3d/src/glx/apple/
Dapple_xgl_api_read.c66 && gc->currentReadable != gc->currentDrawable) { in SetRead()
75 gc->currentDrawable); in SetRead()
89 gc->currentDrawable)) { in UnsetRead()
/external/mesa3d/src/glx/
Dglxcurrent.c89 return gc->currentDrawable; in glXGetCurrentDrawable()
121 gc->currentDrawable == draw && gc->currentReadable == read) in MakeContextCurrent()
162 gc->currentDrawable = draw; in MakeContextCurrent()
Dglxcmds.c676 Bool flush = gc != &dummyContext && drawable == gc->currentDrawable; in glXSwapBuffers()
695 ((drawable == gc->currentDrawable) in glXSwapBuffers()
1561 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXSwapIntervalSGI()
1612 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXSwapIntervalMESA()
1639 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXGetSwapIntervalMESA()
1698 if (!gc->currentDrawable) in glXGetVideoSyncSGI()
1701 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXGetVideoSyncSGI()
1738 if (!gc->currentDrawable) in glXWaitVideoSyncSGI()
1741 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXWaitVideoSyncSGI()
2063 ((drawable == gc->currentDrawable) || in glXCopySubBufferMESA()
Ddri3_glx.c276 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in dri3_wait_x()
286 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in dri3_wait_gl()
Ddri2_glx.c369 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in dri2_wait_x()
381 GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in dri2_wait_gl()
Ddri_common.c432 releaseDrawable(priv, gc->currentDrawable); in driReleaseDrawables()
435 gc->currentDrawable = None; in driReleaseDrawables()
Dglxclient.h347 GLXDrawable currentDrawable; member
Dglx_pbuffer.c279 (gc->currentDrawable != drawable && in __glXGetDrawableAttribute()
/external/skia/tools/skottie_ios_app/
DSkiaMetalContext.mm50 if (!viewController || ![[self currentDrawable] texture] || !fDContext) {
64 [commandBuffer presentDrawable:[self currentDrawable]];
/external/skia/tests/
DMtlCopySurfaceTest.mm33 id<CAMetalDrawable> drawable = [view currentDrawable];
/external/skia/experimental/minimal_ios_mtl_skia_app/
Dmain.mm78 [commandBuffer presentDrawable:[view currentDrawable]];
/external/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_api.c99 GLXDrawable currentDrawable; member
1226 ctx->currentDrawable = draw; in glXMakeContextCurrent()
1282 return gc ? gc->currentDrawable : 0; in glXGetCurrentDrawable()
/external/webrtc/sdk/objc/components/renderer/metal/
DRTCMTLRenderer.mm305 [commandBuffer presentDrawable:_view.currentDrawable];