Lines Matching refs:surface
441 _eglQuerySurface(_EGLDisplay *disp, _EGLSurface *surface, in _eglQuerySurface() argument
446 *value = surface->Width; in _eglQuerySurface()
449 *value = surface->Height; in _eglQuerySurface()
452 *value = surface->Config->ConfigID; in _eglQuerySurface()
455 if (surface->Type == EGL_PBUFFER_BIT) in _eglQuerySurface()
456 *value = surface->LargestPbuffer; in _eglQuerySurface()
460 if (surface->Type == EGL_PBUFFER_BIT) in _eglQuerySurface()
461 *value = surface->TextureFormat; in _eglQuerySurface()
464 if (surface->Type == EGL_PBUFFER_BIT) in _eglQuerySurface()
465 *value = surface->TextureTarget; in _eglQuerySurface()
468 if (surface->Type == EGL_PBUFFER_BIT) in _eglQuerySurface()
469 *value = surface->MipmapTexture; in _eglQuerySurface()
472 if (surface->Type == EGL_PBUFFER_BIT) in _eglQuerySurface()
473 *value = surface->MipmapLevel; in _eglQuerySurface()
476 *value = surface->SwapBehavior; in _eglQuerySurface()
495 switch (surface->Type) { in _eglQuerySurface()
499 *value = surface->RequestedRenderBuffer; in _eglQuerySurface()
510 *value = surface->AspectRatio; in _eglQuerySurface()
513 *value = surface->HorizontalResolution; in _eglQuerySurface()
516 *value = surface->VerticalResolution; in _eglQuerySurface()
519 *value = surface->MultisampleResolve; in _eglQuerySurface()
522 *value = surface->VGAlphaFormat; in _eglQuerySurface()
525 *value = surface->VGColorspace; in _eglQuerySurface()
531 *value = surface->GLColorspace; in _eglQuerySurface()
534 *value = surface->PostSubBufferSupportedNV; in _eglQuerySurface()
546 EGLint result = disp->Driver->QueryBufferAge(disp, surface); in _eglQuerySurface()
551 ctx->DrawSurface != surface) in _eglQuerySurface()
555 surface->BufferAgeRead = EGL_TRUE; in _eglQuerySurface()
558 *value = surface->HdrMetadata.display_primary_r.x; in _eglQuerySurface()
561 *value = surface->HdrMetadata.display_primary_r.y; in _eglQuerySurface()
564 *value = surface->HdrMetadata.display_primary_g.x; in _eglQuerySurface()
567 *value = surface->HdrMetadata.display_primary_g.y; in _eglQuerySurface()
570 *value = surface->HdrMetadata.display_primary_b.x; in _eglQuerySurface()
573 *value = surface->HdrMetadata.display_primary_b.y; in _eglQuerySurface()
576 *value = surface->HdrMetadata.white_point.x; in _eglQuerySurface()
579 *value = surface->HdrMetadata.white_point.y; in _eglQuerySurface()
582 *value = surface->HdrMetadata.max_luminance; in _eglQuerySurface()
585 *value = surface->HdrMetadata.min_luminance; in _eglQuerySurface()
588 *value = surface->HdrMetadata.max_cll; in _eglQuerySurface()
591 *value = surface->HdrMetadata.max_fall; in _eglQuerySurface()
596 *value = surface->ProtectedContent; in _eglQuerySurface()
610 _eglSurfaceAttrib(_EGLDisplay *disp, _EGLSurface *surface, in _eglSurfaceAttrib() argument
621 confval = surface->Config->RenderableType; in _eglSurfaceAttrib()
626 surface->MipmapLevel = value; in _eglSurfaceAttrib()
633 confval = surface->Config->SurfaceType; in _eglSurfaceAttrib()
643 surface->MultisampleResolve = value; in _eglSurfaceAttrib()
663 if (!(surface->Config->SurfaceType & EGL_MUTABLE_RENDER_BUFFER_BIT_KHR)) { in _eglSurfaceAttrib()
668 surface->RequestedRenderBuffer = value; in _eglSurfaceAttrib()
675 confval = surface->Config->SurfaceType; in _eglSurfaceAttrib()
685 surface->SwapBehavior = value; in _eglSurfaceAttrib()
688 surface->HdrMetadata.display_primary_r.x = value; in _eglSurfaceAttrib()
691 surface->HdrMetadata.display_primary_r.y = value; in _eglSurfaceAttrib()
694 surface->HdrMetadata.display_primary_g.x = value; in _eglSurfaceAttrib()
697 surface->HdrMetadata.display_primary_g.y = value; in _eglSurfaceAttrib()
700 surface->HdrMetadata.display_primary_b.x = value; in _eglSurfaceAttrib()
703 surface->HdrMetadata.display_primary_b.y = value; in _eglSurfaceAttrib()
706 surface->HdrMetadata.white_point.x = value; in _eglSurfaceAttrib()
709 surface->HdrMetadata.white_point.y = value; in _eglSurfaceAttrib()
712 surface->HdrMetadata.max_luminance = value; in _eglSurfaceAttrib()
715 surface->HdrMetadata.min_luminance = value; in _eglSurfaceAttrib()
718 surface->HdrMetadata.max_cll = value; in _eglSurfaceAttrib()
721 surface->HdrMetadata.max_fall = value; in _eglSurfaceAttrib()
735 _eglBindTexImage(_EGLDisplay *disp, _EGLSurface *surface, EGLint buffer) in _eglBindTexImage() argument
746 if (!(surface->Type & texture_type)) in _eglBindTexImage()
749 if (surface->TextureFormat == EGL_NO_TEXTURE) in _eglBindTexImage()
752 if (surface->TextureTarget == EGL_NO_TEXTURE) in _eglBindTexImage()
758 surface->BoundToTexture = EGL_TRUE; in _eglBindTexImage()