Home
last modified time | relevance | path

Searched refs:draw (Results 1 – 25 of 49) sorted by relevance

12

/device/generic/opengl-transport/host/libs/virglrenderer/
DEglSurface.h47 if (!read_ && sur->draw) in bind()
54 draw = true; in bind()
61 if (read || draw) { in unbind()
65 draw = false; in unbind()
66 if (read || draw) in unbind()
87 bool draw = false; member
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/EGL/
DEglOsApi_darwin.cpp321 EglOS::Surface* draw, in makeCurrent() argument
324 if (ctx == NULL && read == NULL && draw == NULL) { in makeCurrent()
328 else if (ctx == NULL || read == NULL || draw == NULL) { in makeCurrent()
334 if (read != draw) { in makeCurrent()
337 switch (draw->type()) { in makeCurrent()
340 MacSurface::from(draw)->handle()); in makeCurrent()
344 MacSurface* macdraw = MacSurface::from(draw); in makeCurrent()
DEglOsApi_glx.cpp535 EglOS::Surface* draw, in makeCurrent() argument
542 if (!context && !read && !draw) { in makeCurrent()
546 else if (context && read && draw) { in makeCurrent()
549 GlxSurface::drawableFor(draw), in makeCurrent()
552 if (mSwapInterval && draw->type() == GlxSurface::SurfaceType::WINDOW) { in makeCurrent()
554 auto it = mDisabledVsyncWindows.find(draw); in makeCurrent()
557 mSwapInterval(mDisplay, GlxSurface::drawableFor(draw), 0); in makeCurrent()
559 mDisabledVsyncWindows[draw] = true; in makeCurrent()
DEglContext.cpp110 SurfacePtr currentDraw = currentCtx ? currentCtx->draw() : nullptr; in ~EglContext()
156 void EglContext::setSurfaces(SurfacePtr read,SurfacePtr draw) in setSurfaces() argument
159 m_draw = draw; in setSurfaces()
DEglValidate.h46 EGLSurface draw,
59 EGLSurface draw,
DEglContext.h52 const SurfacePtr& draw() const { return m_draw; }; in draw() function
57 void setSurfaces(SurfacePtr read, SurfacePtr draw);
DEglOsApi_egl.cpp110 (EGLDisplay display, EGLSurface draw, EGLSurface read, \
300 bool makeCurrent(Surface* read, Surface* draw, Context* context);
721 Surface* draw, in makeCurrent() argument
725 EglOsEglSurface* drawSfc = (EglOsEglSurface*)draw; in makeCurrent()
DEglImp.cpp1098 EGLSurface draw, in eglMakeCurrent() argument
1103 bool releaseContext = EglValidate::releaseContext(context, read, draw); in eglMakeCurrent()
1104 if(!releaseContext && EglValidate::badContextMatch(context, read, draw)) { in eglMakeCurrent()
1121 VALIDATE_SURFACE(draw,newDrawSrfc); in eglMakeCurrent()
1130 if (newDrawPtr == prevCtx->draw().get() && in eglMakeCurrent()
1294 SurfacePtr surface = readdraw == EGL_READ ? ctx->read() : ctx->draw(); in eglGetCurrentSurface()
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/GL/
Dglx.h269 extern void glXQueryDrawable( Display *dpy, GLXDrawable draw, int attribute,
276 extern Bool glXMakeContextCurrent( Display *dpy, GLXDrawable draw,
301 typedef void (* PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned i…
303 typedef Bool (* PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GL…
307 typedef void (* PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
308 typedef void (* PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_m…
366 extern Bool glXDrawableAttribARB(Display *dpy, GLXDrawable draw, const int *attribList);
Dglxext.h538 extern void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
540 extern Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx…
544 extern void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask);
545 extern void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
557 typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned …
559 typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, G…
563 typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
564 typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_…
640 extern Bool glXMakeCurrentReadSGI (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx…
643 typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, G…
Ddri_interface.h399 GLboolean (*getMSCRate)(__DRIdrawable *draw,
427 void (*reportDamage)(__DRIdrawable *draw,
/device/generic/goldfish-opengl/system/egl/
Degl.cpp214 draw(EGL_NO_SURFACE), in EGLContext_t()
904 if (context->read == context->draw) { in s_destroyPendingSurfacesInContext()
906 s_destroyPendingSurfaceAndSetNull(&context->draw); in s_destroyPendingSurfacesInContext()
907 if (context->draw == NULL) { in s_destroyPendingSurfacesInContext()
911 s_destroyPendingSurfaceAndSetNull(&context->draw); in s_destroyPendingSurfacesInContext()
1714 if (!ctx->draw) { in eglSwapInterval()
1717 egl_surface_t* draw(static_cast<egl_surface_t*>(ctx->draw)); in eglSwapInterval() local
1718 draw->setSwapInterval(interval); in eglSwapInterval()
1909 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
1912 VALIDATE_SURFACE_RETURN(draw, EGL_FALSE); in eglMakeCurrent()
[all …]
DeglContext.h38 EGLSurface draw; member
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Degl.cpp491 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
496 EGLBoolean res = getDispatch()->eglMakeCurrent(dpy, draw, read, aglContext); in eglMakeCurrent()
504 (uint32_t) (draw == EGL_NO_SURFACE ? 0 : draw), in eglMakeCurrent()
624 EGLBoolean eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGL… in eglSetSwapRectangleANDROID() argument
626 return getDispatch()->eglSetSwapRectangleANDROID(dpy, draw, left, top, width, height); in eglSetSwapRectangleANDROID()
/device/generic/vulkan-cereal/stream-servers/
DRenderThreadInfoGl.cpp131 const HandleType draw = currDrawSurf ? currDrawSurf->getHndl() : 0; in postLoadRefreshCurrentContextSurfacePtrs() local
133 fb->bindContext(ctx, draw, read); in postLoadRefreshCurrentContextSurfacePtrs()
/device/generic/vulkan-cereal/stream-servers/tests/
DSampleApplication.cpp313 this->draw(); in drawLoop()
506 this->draw(); in surfaceFlingerComposerLoop()
551 this->draw(); in drawOnce()
DHelloTriangle.h35 void draw() override;
DHelloTriangleImp.cpp87 void HelloTriangle::draw() { in draw() function in gfxstream::HelloTriangle
DSampleApplication.h90 virtual void draw() = 0;
DGLSnapshotRendering_unittest.cpp44 this->draw(); in drawLoop()
/device/generic/vulkan-cereal/stream-servers/gl/
DTextureResize.h50 GLuint draw(GLuint texture, int width, int height, int skinRotation);
DTextureDraw.h50 bool draw(GLuint texture, float rotationDegrees, float dx, float dy) { in draw() function
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/GL/internal/
Ddri_interface.h399 GLboolean (*getMSCRate)(__DRIdrawable *draw,
427 void (*reportDamage)(__DRIdrawable *draw,
/device/generic/vulkan-cereal/include/OpenGLESDispatch/
DRenderEGL_functions.h26 …X(EGLBoolean, eglMakeCurrent, (EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext co…
/device/generic/vulkan-cereal/stream-servers/gl/OpenGLESDispatch/
Drender_egl.entries26 EGLBoolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context);

12