/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 | 86 _mesa_resize_framebuffer(&radeon->glCtx, &draw_rfb->base, in radeonSetCliprects() 93 _mesa_resize_framebuffer(&radeon->glCtx, &read_rfb->base, in radeonSetCliprects() 99 radeonUpdateScissor(&radeon->glCtx); in radeonSetCliprects() 417 radeon_draw_buffer(ctx, radeon->glCtx.DrawBuffer); in radeon_viewport() 429 dwords = state->check(&radeon->glCtx, state); in radeon_print_state_atom() 467 const GLuint atom_size = atom->check(&radeon->glCtx, atom); in radeonCountStateEmitSize() 476 const GLuint atom_size = atom->check(&radeon->glCtx, atom); in radeonCountStateEmitSize() 494 dwords = atom->check(&radeon->glCtx, atom); in radeon_emit_atom() 500 atom->emit(&radeon->glCtx, atom); in radeon_emit_atom() 641 radeonEmitQueryEnd(&rmesa->glCtx); in rcommonFlushCmdBufLocked() [all …]
|
D | radeon_fbo.c | 596 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage() 865 radeon->glCtx.Driver.NewRenderbuffer = radeon_new_renderbuffer; in radeon_fbo_init() 866 radeon->glCtx.Driver.MapRenderbuffer = radeon_map_renderbuffer; in radeon_fbo_init() 867 radeon->glCtx.Driver.UnmapRenderbuffer = radeon_unmap_renderbuffer; in radeon_fbo_init() 868 radeon->glCtx.Driver.BindFramebuffer = radeon_bind_framebuffer; in radeon_fbo_init() 869 radeon->glCtx.Driver.FramebufferRenderbuffer = radeon_framebuffer_renderbuffer; in radeon_fbo_init() 870 radeon->glCtx.Driver.RenderTexture = radeon_render_texture; in radeon_fbo_init() 871 radeon->glCtx.Driver.FinishRenderTexture = radeon_finish_render_texture; in radeon_fbo_init() 872 radeon->glCtx.Driver.ValidateFramebuffer = radeon_validate_framebuffer; in radeon_fbo_init() 873 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_context.c | 215 ctx = &rmesa->radeon.glCtx; in r100CreateContext() 314 if (rmesa->radeon.glCtx.Mesa_DXTn) { in r100CreateContext() 358 TCL_FALLBACK(&rmesa->radeon.glCtx, RADEON_TCL_FALLBACK_TCL_DISABLE, 1); in r100CreateContext()
|
D | radeon_state.h | 60 radeonFallback( &rmesa->radeon.glCtx, bit, mode ); \
|
D | radeon_dma.c | 273 rmesa->dma.flush(&rmesa->glCtx); in radeonAllocDmaRegion() 462 rmesa->dma.flush(&rmesa->glCtx); in rcommonAllocDmaLowVerts() 472 rmesa->glCtx.Driver.NeedFlush |= FLUSH_STORED_VERTICES; in rcommonAllocDmaLowVerts() 502 radeon->dma.flush(&radeon->glCtx); in radeonReleaseArrays()
|
D | radeon_queryobj.c | 113 radeon->dma.flush(&radeon->glCtx); in radeonBeginQuery() 153 radeon->dma.flush(&radeon->glCtx); in radeonEndQuery()
|
D | radeon_texstate.c | 554 texObj = _mesa_get_current_tex_object(&radeon->glCtx, target); in radeonSetTexBuffer2() 555 texImage = _mesa_get_tex_image(&radeon->glCtx, texObj, target, 0); in radeonSetTexBuffer2() 570 _mesa_lock_texture(&radeon->glCtx, texObj); in radeonSetTexBuffer2() 615 _mesa_init_teximage_fields(&radeon->glCtx, texImage, in radeonSetTexBuffer2() 640 _mesa_unlock_texture(&radeon->glCtx, texObj); in radeonSetTexBuffer2() 681 TCL_FALLBACK( &rmesa->radeon.glCtx, (RADEON_TCL_FALLBACK_TEXGEN_0<<unit), GL_FALSE); in disable_tex_obj_state()
|
D | radeon_tcl.c | 150 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in radeonAllocElts() 317 state_size += rmesa->hw.tcl.check( &rmesa->radeon.glCtx, &rmesa->hw.tcl ); in radeonEnsureEmitSize() 503 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in transition_to_hwtnl()
|
D | radeon_ioctl.c | 65 int i, mtu = rmesa->radeon.glCtx.Const.MaxTextureUnits; in radeonSetUpAtomList() 209 radeonFinish( &rmesa->radeon.glCtx ); in radeonFlushElts() 268 rmesa->radeon.glCtx.Driver.NeedFlush |= FLUSH_STORED_VERTICES; in radeonAllocEltsOpenEnded()
|
/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 | 86 _mesa_resize_framebuffer(&radeon->glCtx, &draw_rfb->base, in radeonSetCliprects() 93 _mesa_resize_framebuffer(&radeon->glCtx, &read_rfb->base, in radeonSetCliprects() 99 radeonUpdateScissor(&radeon->glCtx); in radeonSetCliprects() 417 radeon_draw_buffer(ctx, radeon->glCtx.DrawBuffer); in radeon_viewport() 429 dwords = state->check(&radeon->glCtx, state); in radeon_print_state_atom() 467 const GLuint atom_size = atom->check(&radeon->glCtx, atom); in radeonCountStateEmitSize() 476 const GLuint atom_size = atom->check(&radeon->glCtx, atom); in radeonCountStateEmitSize() 494 dwords = atom->check(&radeon->glCtx, atom); in radeon_emit_atom() 500 atom->emit(&radeon->glCtx, atom); in radeon_emit_atom() 641 radeonEmitQueryEnd(&rmesa->glCtx); in rcommonFlushCmdBufLocked() [all …]
|
D | radeon_fbo.c | 596 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage() 865 radeon->glCtx.Driver.NewRenderbuffer = radeon_new_renderbuffer; in radeon_fbo_init() 866 radeon->glCtx.Driver.MapRenderbuffer = radeon_map_renderbuffer; in radeon_fbo_init() 867 radeon->glCtx.Driver.UnmapRenderbuffer = radeon_unmap_renderbuffer; in radeon_fbo_init() 868 radeon->glCtx.Driver.BindFramebuffer = radeon_bind_framebuffer; in radeon_fbo_init() 869 radeon->glCtx.Driver.FramebufferRenderbuffer = radeon_framebuffer_renderbuffer; in radeon_fbo_init() 870 radeon->glCtx.Driver.RenderTexture = radeon_render_texture; in radeon_fbo_init() 871 radeon->glCtx.Driver.FinishRenderTexture = radeon_finish_render_texture; in radeon_fbo_init() 872 radeon->glCtx.Driver.ValidateFramebuffer = radeon_validate_framebuffer; in radeon_fbo_init() 873 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_context.c | 252 ctx = &rmesa->radeon.glCtx; in r200CreateContext() 366 if (rmesa->radeon.glCtx.Mesa_DXTn) { in r200CreateContext() 403 TCL_FALLBACK(&rmesa->radeon.glCtx, R200_TCL_FALLBACK_TCL_DISABLE, 1); in r200CreateContext()
|
D | r200_state.h | 58 r200Fallback( &rmesa->radeon.glCtx, bit, mode ); \
|
D | radeon_dma.c | 273 rmesa->dma.flush(&rmesa->glCtx); in radeonAllocDmaRegion() 462 rmesa->dma.flush(&rmesa->glCtx); in rcommonAllocDmaLowVerts() 472 rmesa->glCtx.Driver.NeedFlush |= FLUSH_STORED_VERTICES; in rcommonAllocDmaLowVerts() 502 radeon->dma.flush(&radeon->glCtx); in radeonReleaseArrays()
|
D | radeon_queryobj.c | 113 radeon->dma.flush(&radeon->glCtx); in radeonBeginQuery() 153 radeon->dma.flush(&radeon->glCtx); in radeonEndQuery()
|
D | r200_ioctl.h | 76 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); \
|
/external/skia/tools/gpu/ |
D | GrContextFactory.cpp | 143 GLTestContext* glCtx; in getContextInfoInternal() local 146 glCtx = CreatePlatformGLTestContext(kGL_GrGLStandard, glShareContext); in getContextInfoInternal() 149 glCtx = CreatePlatformGLTestContext(kGLES_GrGLStandard, glShareContext); in getContextInfoInternal() 153 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D9, ANGLEContextVersion::kES2, in getContextInfoInternal() 157 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES2, in getContextInfoInternal() 161 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES3, in getContextInfoInternal() 165 glCtx = MakeANGLETestContext(ANGLEBackend::kOpenGL, ANGLEContextVersion::kES2, in getContextInfoInternal() 169 glCtx = MakeANGLETestContext(ANGLEBackend::kOpenGL, ANGLEContextVersion::kES3, in getContextInfoInternal() 175 glCtx = CommandBufferGLTestContext::Create(glShareContext); in getContextInfoInternal() 180 glCtx = CreateMesaGLTestContext(glShareContext); in getContextInfoInternal() [all …]
|
/external/skia/gm/ |
D | rectangletexture.cpp | 68 const GrGLContext* glCtx = gpu->glContextForTesting(); in createRectangleTextureImg() local 69 if (!glCtx) { in createRectangleTextureImg() 73 if (!(kGL_GrGLStandard == glCtx->standard() && glCtx->version() >= GR_GL_VER(3, 1)) && in createRectangleTextureImg() 74 !glCtx->hasExtension("GL_ARB_texture_rectangle")) { in createRectangleTextureImg() 88 const GrGLInterface* gl = glCtx->interface(); in createRectangleTextureImg()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.cpp | 80 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, in GrGLCompileAndAttachShader() argument 89 const GrGLInterface* gli = glCtx.interface(); in GrGLCompileAndAttachShader() 92 auto program = translate_to_glsl(glCtx, type, skslStrings, lengths, count, settings, &glsl); in GrGLCompileAndAttachShader() 125 bool checkCompiled = kChromium_GrGLDriver != glCtx.driver(); in GrGLCompileAndAttachShader()
|
D | GrGLShaderStringBuilder.h | 17 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
|