/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common_context.c | 150 shareCtx = &((radeonContextPtr)sharedContextPrivate)->glCtx; in radeonInitContext() 154 if (!_mesa_initialize_context(&radeon->glCtx, api, in radeonInitContext() 159 ctx = &radeon->glCtx; in radeonInitContext() 199 radeon->glCtx.Const.QueryCounterBits.SamplesPassed = 32; in radeonInitContext() 201 radeon->glCtx.Const.QueryCounterBits.TimeElapsed = 0; in radeonInitContext() 202 radeon->glCtx.Const.QueryCounterBits.Timestamp = 0; in radeonInitContext() 203 radeon->glCtx.Const.QueryCounterBits.PrimitivesGenerated = 0; in radeonInitContext() 204 radeon->glCtx.Const.QueryCounterBits.PrimitivesWritten = 0; in radeonInitContext() 205 radeon->glCtx.Const.QueryCounterBits.VerticesSubmitted = 0; in radeonInitContext() 206 radeon->glCtx.Const.QueryCounterBits.PrimitivesSubmitted = 0; in radeonInitContext() [all …]
|
D | radeon_common.c | 85 _mesa_resize_framebuffer(&radeon->glCtx, &draw_rfb->base, in radeonSetCliprects() 92 _mesa_resize_framebuffer(&radeon->glCtx, &read_rfb->base, in radeonSetCliprects() 98 radeonUpdateScissor(&radeon->glCtx); in radeonSetCliprects() 382 radeon_draw_buffer(ctx, radeon->glCtx.DrawBuffer); in radeon_viewport() 394 dwords = state->check(&radeon->glCtx, state); in radeon_print_state_atom() 432 const GLuint atom_size = atom->check(&radeon->glCtx, atom); in radeonCountStateEmitSize() 441 const GLuint atom_size = atom->check(&radeon->glCtx, atom); in radeonCountStateEmitSize() 459 dwords = atom->check(&radeon->glCtx, atom); in radeon_emit_atom() 465 atom->emit(&radeon->glCtx, atom); in radeon_emit_atom() 606 radeonEmitQueryEnd(&rmesa->glCtx); in rcommonFlushCmdBufLocked() [all …]
|
D | radeon_fbo.c | 598 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage() 870 radeon->glCtx.Driver.NewRenderbuffer = radeon_new_renderbuffer; in radeon_fbo_init() 871 radeon->glCtx.Driver.MapRenderbuffer = radeon_map_renderbuffer; in radeon_fbo_init() 872 radeon->glCtx.Driver.UnmapRenderbuffer = radeon_unmap_renderbuffer; in radeon_fbo_init() 873 radeon->glCtx.Driver.BindFramebuffer = radeon_bind_framebuffer; in radeon_fbo_init() 874 radeon->glCtx.Driver.FramebufferRenderbuffer = radeon_framebuffer_renderbuffer; in radeon_fbo_init() 875 radeon->glCtx.Driver.RenderTexture = radeon_render_texture; in radeon_fbo_init() 876 radeon->glCtx.Driver.FinishRenderTexture = radeon_finish_render_texture; in radeon_fbo_init() 877 radeon->glCtx.Driver.ValidateFramebuffer = radeon_validate_framebuffer; in radeon_fbo_init() 878 radeon->glCtx.Driver.BlitFramebuffer = _mesa_meta_and_swrast_BlitFramebuffer; in radeon_fbo_init() [all …]
|
D | radeon_cmdbuf.h | 104 radeon->glCtx.Driver.Flush(&radeon->glCtx); /* +r6/r7 */ in radeon_firevertices()
|
D | radeon_state.h | 60 radeonFallback( &rmesa->radeon.glCtx, bit, mode ); \
|
D | radeon_queryobj.c | 114 radeon->dma.flush(&radeon->glCtx); in radeonBeginQuery() 154 radeon->dma.flush(&radeon->glCtx); in radeonEndQuery()
|
D | radeon_dma.c | 274 rmesa->dma.flush(&rmesa->glCtx); in radeonAllocDmaRegion() 463 rmesa->dma.flush(&rmesa->glCtx); in rcommonAllocDmaLowVerts() 473 rmesa->glCtx.Driver.NeedFlush |= FLUSH_STORED_VERTICES; in rcommonAllocDmaLowVerts() 503 radeon->dma.flush(&radeon->glCtx); in radeonReleaseArrays()
|
D | radeon_tcl.c | 151 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in radeonAllocElts() 318 state_size += rmesa->hw.tcl.check( &rmesa->radeon.glCtx, &rmesa->hw.tcl ); in radeonEnsureEmitSize() 504 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in transition_to_hwtnl()
|
D | radeon_texstate.c | 561 texObj = _mesa_get_current_tex_object(&radeon->glCtx, target); in radeonSetTexBuffer2() 562 texImage = _mesa_get_tex_image(&radeon->glCtx, texObj, target, 0); in radeonSetTexBuffer2() 577 _mesa_lock_texture(&radeon->glCtx, texObj); in radeonSetTexBuffer2() 616 _mesa_init_teximage_fields(&radeon->glCtx, texImage, in radeonSetTexBuffer2() 641 _mesa_unlock_texture(&radeon->glCtx, texObj); in radeonSetTexBuffer2() 682 TCL_FALLBACK( &rmesa->radeon.glCtx, (RADEON_TCL_FALLBACK_TEXGEN_0<<unit), GL_FALSE); in disable_tex_obj_state()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_common_context.c | 150 shareCtx = &((radeonContextPtr)sharedContextPrivate)->glCtx; in radeonInitContext() 154 if (!_mesa_initialize_context(&radeon->glCtx, api, in radeonInitContext() 159 ctx = &radeon->glCtx; in radeonInitContext() 199 radeon->glCtx.Const.QueryCounterBits.SamplesPassed = 32; in radeonInitContext() 201 radeon->glCtx.Const.QueryCounterBits.TimeElapsed = 0; in radeonInitContext() 202 radeon->glCtx.Const.QueryCounterBits.Timestamp = 0; in radeonInitContext() 203 radeon->glCtx.Const.QueryCounterBits.PrimitivesGenerated = 0; in radeonInitContext() 204 radeon->glCtx.Const.QueryCounterBits.PrimitivesWritten = 0; in radeonInitContext() 205 radeon->glCtx.Const.QueryCounterBits.VerticesSubmitted = 0; in radeonInitContext() 206 radeon->glCtx.Const.QueryCounterBits.PrimitivesSubmitted = 0; in radeonInitContext() [all …]
|
D | radeon_common.c | 85 _mesa_resize_framebuffer(&radeon->glCtx, &draw_rfb->base, in radeonSetCliprects() 92 _mesa_resize_framebuffer(&radeon->glCtx, &read_rfb->base, in radeonSetCliprects() 98 radeonUpdateScissor(&radeon->glCtx); in radeonSetCliprects() 382 radeon_draw_buffer(ctx, radeon->glCtx.DrawBuffer); in radeon_viewport() 394 dwords = state->check(&radeon->glCtx, state); in radeon_print_state_atom() 432 const GLuint atom_size = atom->check(&radeon->glCtx, atom); in radeonCountStateEmitSize() 441 const GLuint atom_size = atom->check(&radeon->glCtx, atom); in radeonCountStateEmitSize() 459 dwords = atom->check(&radeon->glCtx, atom); in radeon_emit_atom() 465 atom->emit(&radeon->glCtx, atom); in radeon_emit_atom() 606 radeonEmitQueryEnd(&rmesa->glCtx); in rcommonFlushCmdBufLocked() [all …]
|
D | radeon_fbo.c | 598 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage() 870 radeon->glCtx.Driver.NewRenderbuffer = radeon_new_renderbuffer; in radeon_fbo_init() 871 radeon->glCtx.Driver.MapRenderbuffer = radeon_map_renderbuffer; in radeon_fbo_init() 872 radeon->glCtx.Driver.UnmapRenderbuffer = radeon_unmap_renderbuffer; in radeon_fbo_init() 873 radeon->glCtx.Driver.BindFramebuffer = radeon_bind_framebuffer; in radeon_fbo_init() 874 radeon->glCtx.Driver.FramebufferRenderbuffer = radeon_framebuffer_renderbuffer; in radeon_fbo_init() 875 radeon->glCtx.Driver.RenderTexture = radeon_render_texture; in radeon_fbo_init() 876 radeon->glCtx.Driver.FinishRenderTexture = radeon_finish_render_texture; in radeon_fbo_init() 877 radeon->glCtx.Driver.ValidateFramebuffer = radeon_validate_framebuffer; in radeon_fbo_init() 878 radeon->glCtx.Driver.BlitFramebuffer = _mesa_meta_and_swrast_BlitFramebuffer; in radeon_fbo_init() [all …]
|
D | radeon_cmdbuf.h | 104 radeon->glCtx.Driver.Flush(&radeon->glCtx); /* +r6/r7 */ in radeon_firevertices()
|
D | r200_tcl.c | 155 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in r200AllocElts() 314 state_size += rmesa->hw.vtx.check(&rmesa->radeon.glCtx, &rmesa->hw.vtx); in r200EnsureEmitSize() 548 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in transition_to_hwtnl() 615 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in r200TclFallback() 628 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in r200TclFallback()
|
D | r200_state.h | 58 r200Fallback( &rmesa->radeon.glCtx, bit, mode ); \
|
D | radeon_queryobj.c | 114 radeon->dma.flush(&radeon->glCtx); in radeonBeginQuery() 154 radeon->dma.flush(&radeon->glCtx); in radeonEndQuery()
|
D | radeon_dma.c | 274 rmesa->dma.flush(&rmesa->glCtx); in radeonAllocDmaRegion() 463 rmesa->dma.flush(&rmesa->glCtx); in rcommonAllocDmaLowVerts() 473 rmesa->glCtx.Driver.NeedFlush |= FLUSH_STORED_VERTICES; in rcommonAllocDmaLowVerts() 503 radeon->dma.flush(&radeon->glCtx); in radeonReleaseArrays()
|
/external/skia/tools/gpu/ |
D | GrContextFactory.cpp | 175 GLTestContext* glCtx; in getContextInfoInternal() local 178 glCtx = CreatePlatformGLTestContext(kGL_GrGLStandard, glShareContext); in getContextInfoInternal() 181 glCtx = CreatePlatformGLTestContext(kGLES_GrGLStandard, glShareContext); in getContextInfoInternal() 185 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D9, ANGLEContextVersion::kES2, in getContextInfoInternal() 190 if (glCtx) { in getContextInfoInternal() 191 GrGLDriverInfo info = GrGLGetDriverInfo(glCtx->gl()); in getContextInfoInternal() 193 delete glCtx; in getContextInfoInternal() 199 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES2, in getContextInfoInternal() 203 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES3, in getContextInfoInternal() 207 glCtx = MakeANGLETestContext(ANGLEBackend::kOpenGL, ANGLEContextVersion::kES2, in getContextInfoInternal() [all …]
|
/external/skqp/tools/gpu/ |
D | GrContextFactory.cpp | 156 GLTestContext* glCtx; in getContextInfoInternal() local 159 glCtx = CreatePlatformGLTestContext(kGL_GrGLStandard, glShareContext); in getContextInfoInternal() 162 glCtx = CreatePlatformGLTestContext(kGLES_GrGLStandard, glShareContext); in getContextInfoInternal() 166 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D9, ANGLEContextVersion::kES2, in getContextInfoInternal() 170 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES2, in getContextInfoInternal() 174 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES3, in getContextInfoInternal() 178 glCtx = MakeANGLETestContext(ANGLEBackend::kOpenGL, ANGLEContextVersion::kES2, in getContextInfoInternal() 182 glCtx = MakeANGLETestContext(ANGLEBackend::kOpenGL, ANGLEContextVersion::kES3, in getContextInfoInternal() 188 glCtx = CommandBufferGLTestContext::Create(glShareContext); in getContextInfoInternal() 192 glCtx = CreateNullGLTestContext( in getContextInfoInternal() [all …]
|
/external/skqp/gm/ |
D | rectangletexture.cpp | 67 const GrGLContext* glCtx = gpu->glContextForTesting(); in createRectangleTextureImg() local 68 if (!glCtx) { in createRectangleTextureImg() 72 if (!(kGL_GrGLStandard == glCtx->standard() && glCtx->version() >= GR_GL_VER(3, 1)) && in createRectangleTextureImg() 73 !(glCtx->hasExtension("GL_ARB_texture_rectangle") || in createRectangleTextureImg() 74 glCtx->hasExtension("GL_ANGLE_texture_rectangle"))) { in createRectangleTextureImg() 88 const GrGLInterface* gl = glCtx->interface(); in createRectangleTextureImg()
|
/external/zstd/contrib/single_file_libs/examples/ |
D | emscripten.c | 203 static EMSCRIPTEN_WEBGL_CONTEXT_HANDLE glCtx = 0; variable 213 if (glCtx) { in resize() 230 if ((glCtx = emscripten_webgl_create_context("#canvas", &attr))) { in initContext() 232 emscripten_webgl_make_context_current(glCtx); in initContext()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.cpp | 54 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, in GrGLCompileAndAttachShader() argument 61 const GrGLInterface* gli = glCtx.glInterface(); in GrGLCompileAndAttachShader() 76 bool checkCompiled = !glCtx.caps()->skipErrorChecks(); in GrGLCompileAndAttachShader()
|
D | GrGLShaderStringBuilder.h | 24 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
|
/external/skqp/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.cpp | 113 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, in GrGLCompileAndAttachShader() argument 120 const GrGLInterface* gli = glCtx.interface(); in GrGLCompileAndAttachShader() 134 bool checkCompiled = kChromium_GrGLDriver != glCtx.driver(); in GrGLCompileAndAttachShader() 157 if (kChromium_GrGLDriver != glCtx.driver()) { in GrGLCompileAndAttachShader()
|
D | GrGLShaderStringBuilder.h | 22 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
|