Home
last modified time | relevance | path

Searched refs:glState (Results 1 – 25 of 68) sorted by relevance

123

/external/angle/src/libANGLE/capture/
Dcapture_gles_1_0_autogen.h22 angle::CallCapture CaptureAlphaFunc(const State &glState,
26 angle::CallCapture CaptureAlphaFuncx(const State &glState,
30 angle::CallCapture CaptureClearColorx(const State &glState,
36 angle::CallCapture CaptureClearDepthx(const State &glState, bool isCallValid, GLfixed depth);
37 angle::CallCapture CaptureClientActiveTexture(const State &glState,
40 angle::CallCapture CaptureClipPlanef(const State &glState,
44 angle::CallCapture CaptureClipPlanex(const State &glState,
48 angle::CallCapture CaptureColor4f(const State &glState,
54 angle::CallCapture CaptureColor4ub(const State &glState,
60 angle::CallCapture CaptureColor4x(const State &glState,
[all …]
Dcapture_gles_2_0_autogen.h22 angle::CallCapture CaptureActiveTexture(const State &glState, bool isCallValid, GLenum texture);
23 angle::CallCapture CaptureAttachShader(const State &glState,
27 angle::CallCapture CaptureBindAttribLocation(const State &glState,
32 angle::CallCapture CaptureBindBuffer(const State &glState,
36 angle::CallCapture CaptureBindFramebuffer(const State &glState,
40 angle::CallCapture CaptureBindRenderbuffer(const State &glState,
44 angle::CallCapture CaptureBindTexture(const State &glState,
48 angle::CallCapture CaptureBlendColor(const State &glState,
54 angle::CallCapture CaptureBlendEquation(const State &glState, bool isCallValid, GLenum mode);
55 angle::CallCapture CaptureBlendEquationSeparate(const State &glState,
[all …]
Dcapture_gles_3_0_autogen.h22 angle::CallCapture CaptureBeginQuery(const State &glState,
26 angle::CallCapture CaptureBeginTransformFeedback(const State &glState,
29 angle::CallCapture CaptureBindBufferBase(const State &glState,
34 angle::CallCapture CaptureBindBufferRange(const State &glState,
41 angle::CallCapture CaptureBindSampler(const State &glState,
45 angle::CallCapture CaptureBindTransformFeedback(const State &glState,
49 angle::CallCapture CaptureBindVertexArray(const State &glState,
52 angle::CallCapture CaptureBlitFramebuffer(const State &glState,
64 angle::CallCapture CaptureClearBufferfi(const State &glState,
70 angle::CallCapture CaptureClearBufferfv(const State &glState,
[all …]
Dcapture_gles_ext_autogen.h23 angle::CallCapture CaptureDrawArraysInstancedBaseInstanceANGLE(const State &glState,
31 const State &glState,
40 angle::CallCapture CaptureMultiDrawArraysInstancedBaseInstanceANGLE(const State &glState,
49 const State &glState,
61 angle::CallCapture CaptureCopyTexture3DANGLE(const State &glState,
73 angle::CallCapture CaptureCopySubTexture3DANGLE(const State &glState,
94 angle::CallCapture CaptureBlitFramebufferANGLE(const State &glState,
108 angle::CallCapture CaptureRenderbufferStorageMultisampleANGLE(const State &glState,
117 angle::CallCapture CaptureGetTexImageANGLE(const State &glState,
124 angle::CallCapture CaptureGetRenderbufferImageANGLE(const State &glState,
[all …]
Dcapture_gles_ext_params.cpp20 const State &glState, in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE_indices() argument
34 void CaptureMultiDrawArraysInstancedBaseInstanceANGLE_firsts(const State &glState, in CaptureMultiDrawArraysInstancedBaseInstanceANGLE_firsts() argument
47 void CaptureMultiDrawArraysInstancedBaseInstanceANGLE_counts(const State &glState, in CaptureMultiDrawArraysInstancedBaseInstanceANGLE_counts() argument
61 const State &glState, in CaptureMultiDrawArraysInstancedBaseInstanceANGLE_instanceCounts() argument
75 const State &glState, in CaptureMultiDrawArraysInstancedBaseInstanceANGLE_baseInstances() argument
89 const State &glState, in CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_counts() argument
105 const State &glState, in CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_indices() argument
121 const State &glState, in CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_instanceCounts() argument
137 const State &glState, in CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_baseVertices() argument
153 const State &glState, in CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_baseInstances() argument
[all …]
Dcapture_gles_3_1_autogen.h22 angle::CallCapture CaptureActiveShaderProgram(const State &glState,
26 angle::CallCapture CaptureBindImageTexture(const State &glState,
35 angle::CallCapture CaptureBindProgramPipeline(const State &glState,
38 angle::CallCapture CaptureBindVertexBuffer(const State &glState,
44 angle::CallCapture CaptureCreateShaderProgramv(const State &glState,
50 angle::CallCapture CaptureDeleteProgramPipelines(const State &glState,
54 angle::CallCapture CaptureDispatchCompute(const State &glState,
59 angle::CallCapture CaptureDispatchComputeIndirect(const State &glState,
62 angle::CallCapture CaptureDrawArraysIndirect(const State &glState,
66 angle::CallCapture CaptureDrawElementsIndirect(const State &glState,
[all …]
Dcapture_gles_3_2_autogen.h22 angle::CallCapture CaptureBlendBarrier(const State &glState, bool isCallValid);
23 angle::CallCapture CaptureBlendEquationSeparatei(const State &glState,
28 angle::CallCapture CaptureBlendEquationi(const State &glState,
32 angle::CallCapture CaptureBlendFuncSeparatei(const State &glState,
39 angle::CallCapture CaptureBlendFunci(const State &glState,
44 angle::CallCapture CaptureColorMaski(const State &glState,
51 angle::CallCapture CaptureCopyImageSubData(const State &glState,
68 angle::CallCapture CaptureDebugMessageCallback(const State &glState,
72 angle::CallCapture CaptureDebugMessageControl(const State &glState,
80 angle::CallCapture CaptureDebugMessageInsert(const State &glState,
[all …]
Dcapture_gles_3_0_params.cpp16 void CaptureClearBufferfv_value(const State &glState, in CaptureClearBufferfv_value() argument
26 void CaptureClearBufferiv_value(const State &glState, in CaptureClearBufferiv_value() argument
36 void CaptureClearBufferuiv_value(const State &glState, in CaptureClearBufferuiv_value() argument
46 void CaptureCompressedTexImage3D_data(const State &glState, in CaptureCompressedTexImage3D_data() argument
59 if (glState.getTargetBuffer(gl::BufferBinding::PixelUnpack)) in CaptureCompressedTexImage3D_data()
72 void CaptureCompressedTexSubImage3D_data(const State &glState, in CaptureCompressedTexSubImage3D_data() argument
87 CaptureCompressedTexImage3D_data(glState, isCallValid, targetPacked, level, 0, width, height, in CaptureCompressedTexSubImage3D_data()
91 void CaptureDeleteQueries_idsPacked(const State &glState, in CaptureDeleteQueries_idsPacked() argument
100 void CaptureDeleteSamplers_samplersPacked(const State &glState, in CaptureDeleteSamplers_samplersPacked() argument
109 void CaptureDeleteTransformFeedbacks_idsPacked(const State &glState, in CaptureDeleteTransformFeedbacks_idsPacked() argument
[all …]
Dcapture_gles_2_0_params.cpp21 void CaptureBindAttribLocation_name(const State &glState, in CaptureBindAttribLocation_name() argument
31 void CaptureBufferData_data(const State &glState, in CaptureBufferData_data() argument
45 void CaptureBufferSubData_data(const State &glState, in CaptureBufferSubData_data() argument
56 void CaptureCompressedTexImage2D_data(const State &glState, in CaptureCompressedTexImage2D_data() argument
68 if (glState.getTargetBuffer(gl::BufferBinding::PixelUnpack)) in CaptureCompressedTexImage2D_data()
81 void CaptureCompressedTexSubImage2D_data(const State &glState, in CaptureCompressedTexSubImage2D_data() argument
94 CaptureCompressedTexImage2D_data(glState, isCallValid, targetPacked, level, 0, width, height, 0, in CaptureCompressedTexSubImage2D_data()
98 void CaptureDeleteBuffers_buffersPacked(const State &glState, in CaptureDeleteBuffers_buffersPacked() argument
107 void CaptureDeleteFramebuffers_framebuffersPacked(const State &glState, in CaptureDeleteFramebuffers_framebuffersPacked() argument
116 void CaptureDeleteRenderbuffers_renderbuffersPacked(const State &glState, in CaptureDeleteRenderbuffers_renderbuffersPacked() argument
[all …]
Dcapture_gles_1_0_params.cpp17 void CaptureClipPlanef_eqn(const State &glState, in CaptureClipPlanef_eqn() argument
26 void CaptureClipPlanex_equation(const State &glState, in CaptureClipPlanex_equation() argument
35 void CaptureColorPointer_pointer(const State &glState, in CaptureColorPointer_pointer() argument
43 CaptureVertexPointerGLES1(glState, ClientVertexArrayType::Color, pointer, paramCapture); in CaptureColorPointer_pointer()
46 void CaptureFogfv_params(const State &glState, in CaptureFogfv_params() argument
56 void CaptureFogxv_param(const State &glState, in CaptureFogxv_param() argument
65 void CaptureGetClipPlanef_equation(const State &glState, in CaptureGetClipPlanef_equation() argument
74 void CaptureGetClipPlanex_equation(const State &glState, in CaptureGetClipPlanex_equation() argument
83 void CaptureGetFixedv_params(const State &glState, in CaptureGetFixedv_params() argument
89 CaptureGetParameter(glState, pname, sizeof(GLfixed), paramCapture); in CaptureGetFixedv_params()
[all …]
Dcapture_gles_3_1_params.cpp16 void CaptureCreateShaderProgramv_strings(const State &glState, in CaptureCreateShaderProgramv_strings() argument
26 void CaptureDeleteProgramPipelines_pipelinesPacked(const State &glState, in CaptureDeleteProgramPipelines_pipelinesPacked() argument
35 void CaptureDrawArraysIndirect_indirect(const State &glState, in CaptureDrawArraysIndirect_indirect() argument
45 assert(!isCallValid || glState.getTargetBuffer(gl::BufferBinding::DrawIndirect)); in CaptureDrawArraysIndirect_indirect()
48 void CaptureDrawElementsIndirect_indirect(const State &glState, in CaptureDrawElementsIndirect_indirect() argument
59 assert(!isCallValid || glState.getTargetBuffer(gl::BufferBinding::DrawIndirect)); in CaptureDrawElementsIndirect_indirect()
62 void CaptureGenProgramPipelines_pipelinesPacked(const State &glState, in CaptureGenProgramPipelines_pipelinesPacked() argument
71 void CaptureGetBooleani_v_data(const State &glState, in CaptureGetBooleani_v_data() argument
81 void CaptureGetFramebufferParameteriv_params(const State &glState, in CaptureGetFramebufferParameteriv_params() argument
91 void CaptureGetMultisamplefv_val(const State &glState, in CaptureGetMultisamplefv_val() argument
[all …]
Dcapture_gles_3_2_params.cpp17 void CaptureDebugMessageCallback_userParam(const State &glState, in CaptureDebugMessageCallback_userParam() argument
26 void CaptureDebugMessageControl_ids(const State &glState, in CaptureDebugMessageControl_ids() argument
39 void CaptureDebugMessageInsert_buf(const State &glState, in CaptureDebugMessageInsert_buf() argument
52 void CaptureDrawElementsBaseVertex_indices(const State &glState, in CaptureDrawElementsBaseVertex_indices() argument
61 CaptureDrawElements_indices(glState, isCallValid, modePacked, count, typePacked, indices, in CaptureDrawElementsBaseVertex_indices()
65 void CaptureDrawElementsInstancedBaseVertex_indices(const State &glState, in CaptureDrawElementsInstancedBaseVertex_indices() argument
78 void CaptureDrawRangeElementsBaseVertex_indices(const State &glState, in CaptureDrawRangeElementsBaseVertex_indices() argument
92 void CaptureGetDebugMessageLog_sources(const State &glState, in CaptureGetDebugMessageLog_sources() argument
107 void CaptureGetDebugMessageLog_types(const State &glState, in CaptureGetDebugMessageLog_types() argument
122 void CaptureGetDebugMessageLog_ids(const State &glState, in CaptureGetDebugMessageLog_ids() argument
[all …]
Dcapture_gles_1_0_autogen.cpp23 CallCapture CaptureAlphaFunc(const State &glState, in CaptureAlphaFunc() argument
36 CallCapture CaptureAlphaFuncx(const State &glState, in CaptureAlphaFuncx() argument
49 CallCapture CaptureClearColorx(const State &glState, in CaptureClearColorx() argument
66 CallCapture CaptureClearDepthx(const State &glState, bool isCallValid, GLfixed depth) in CaptureClearDepthx() argument
75 CallCapture CaptureClientActiveTexture(const State &glState, bool isCallValid, GLenum texture) in CaptureClientActiveTexture() argument
84 CallCapture CaptureClipPlanef(const State &glState, bool isCallValid, GLenum p, const GLfloat *eqn) in CaptureClipPlanef() argument
94 CaptureClipPlanef_eqn(glState, isCallValid, p, eqn, &eqnParam); in CaptureClipPlanef()
108 CallCapture CaptureClipPlanex(const State &glState, in CaptureClipPlanex() argument
121 CaptureClipPlanex_equation(glState, isCallValid, plane, equation, &equationParam); in CaptureClipPlanex()
135 CallCapture CaptureColor4f(const State &glState, in CaptureColor4f() argument
[all …]
Dcapture_gles_2_0_autogen.cpp23 CallCapture CaptureActiveTexture(const State &glState, bool isCallValid, GLenum texture) in CaptureActiveTexture() argument
32 CallCapture CaptureAttachShader(const State &glState, in CaptureAttachShader() argument
45 CallCapture CaptureBindAttribLocation(const State &glState, in CaptureBindAttribLocation() argument
60 CaptureBindAttribLocation_name(glState, isCallValid, programPacked, index, name, in CaptureBindAttribLocation()
75 CallCapture CaptureBindBuffer(const State &glState, in CaptureBindBuffer() argument
88 CallCapture CaptureBindFramebuffer(const State &glState, in CaptureBindFramebuffer() argument
101 CallCapture CaptureBindRenderbuffer(const State &glState, in CaptureBindRenderbuffer() argument
114 CallCapture CaptureBindTexture(const State &glState, in CaptureBindTexture() argument
127 CallCapture CaptureBlendColor(const State &glState, in CaptureBlendColor() argument
144 CallCapture CaptureBlendEquation(const State &glState, bool isCallValid, GLenum mode) in CaptureBlendEquation() argument
[all …]
Dcapture_gles_3_0_autogen.cpp23 CallCapture CaptureBeginQuery(const State &glState, in CaptureBeginQuery() argument
36 CallCapture CaptureBeginTransformFeedback(const State &glState, in CaptureBeginTransformFeedback() argument
48 CallCapture CaptureBindBufferBase(const State &glState, in CaptureBindBufferBase() argument
63 CallCapture CaptureBindBufferRange(const State &glState, in CaptureBindBufferRange() argument
82 CallCapture CaptureBindSampler(const State &glState, in CaptureBindSampler() argument
95 CallCapture CaptureBindTransformFeedback(const State &glState, in CaptureBindTransformFeedback() argument
109 CallCapture CaptureBindVertexArray(const State &glState, in CaptureBindVertexArray() argument
120 CallCapture CaptureBlitFramebuffer(const State &glState, in CaptureBlitFramebuffer() argument
150 CallCapture CaptureClearBufferfi(const State &glState, in CaptureClearBufferfi() argument
167 CallCapture CaptureClearBufferfv(const State &glState, in CaptureClearBufferfv() argument
[all …]
Dcapture_gles_ext_autogen.cpp23 CallCapture CaptureDrawArraysInstancedBaseInstanceANGLE(const State &glState, in CaptureDrawArraysInstancedBaseInstanceANGLE() argument
43 CallCapture CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE(const State &glState, in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE() argument
64 glState, isCallValid, modePacked, count, typePacked, indices, instanceCounts, in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
84 CallCapture CaptureMultiDrawArraysInstancedBaseInstanceANGLE(const State &glState, in CaptureMultiDrawArraysInstancedBaseInstanceANGLE() argument
102 glState, isCallValid, modePacked, firsts, counts, instanceCounts, baseInstances, in CaptureMultiDrawArraysInstancedBaseInstanceANGLE()
119 glState, isCallValid, modePacked, firsts, counts, instanceCounts, baseInstances, in CaptureMultiDrawArraysInstancedBaseInstanceANGLE()
136 glState, isCallValid, modePacked, firsts, counts, instanceCounts, baseInstances, in CaptureMultiDrawArraysInstancedBaseInstanceANGLE()
153 glState, isCallValid, modePacked, firsts, counts, instanceCounts, baseInstances, in CaptureMultiDrawArraysInstancedBaseInstanceANGLE()
172 const State &glState, in CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE() argument
192 glState, isCallValid, modePacked, counts, typePacked, indices, instanceCounts, in CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE()
[all …]
Dcapture_gles_3_1_autogen.cpp23 CallCapture CaptureActiveShaderProgram(const State &glState, in CaptureActiveShaderProgram() argument
36 CallCapture CaptureBindImageTexture(const State &glState, in CaptureBindImageTexture() argument
59 CallCapture CaptureBindProgramPipeline(const State &glState, in CaptureBindProgramPipeline() argument
70 CallCapture CaptureBindVertexBuffer(const State &glState, in CaptureBindVertexBuffer() argument
87 CallCapture CaptureCreateShaderProgramv(const State &glState, in CaptureCreateShaderProgramv() argument
103 CaptureCreateShaderProgramv_strings(glState, isCallValid, typePacked, count, strings, in CaptureCreateShaderProgramv()
122 CallCapture CaptureDeleteProgramPipelines(const State &glState, in CaptureDeleteProgramPipelines() argument
137 CaptureDeleteProgramPipelines_pipelinesPacked(glState, isCallValid, n, pipelinesPacked, in CaptureDeleteProgramPipelines()
154 CallCapture CaptureDispatchCompute(const State &glState, in CaptureDispatchCompute() argument
169 CallCapture CaptureDispatchComputeIndirect(const State &glState, in CaptureDispatchComputeIndirect() argument
[all …]
Dcapture_gles_3_2_autogen.cpp23 CallCapture CaptureBlendBarrier(const State &glState, bool isCallValid) in CaptureBlendBarrier() argument
30 CallCapture CaptureBlendEquationSeparatei(const State &glState, in CaptureBlendEquationSeparatei() argument
47 CallCapture CaptureBlendEquationi(const State &glState, bool isCallValid, GLuint buf, GLenum mode) in CaptureBlendEquationi() argument
57 CallCapture CaptureBlendFuncSeparatei(const State &glState, in CaptureBlendFuncSeparatei() argument
76 CallCapture CaptureBlendFunci(const State &glState, in CaptureBlendFunci() argument
91 CallCapture CaptureColorMaski(const State &glState, in CaptureColorMaski() argument
110 CallCapture CaptureCopyImageSubData(const State &glState, in CaptureCopyImageSubData() argument
151 CallCapture CaptureDebugMessageCallback(const State &glState, in CaptureDebugMessageCallback() argument
164 CaptureDebugMessageCallback_userParam(glState, isCallValid, callback, userParam, in CaptureDebugMessageCallback()
179 CallCapture CaptureDebugMessageControl(const State &glState, in CaptureDebugMessageControl() argument
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DRendererD3D.cpp47 bool RendererD3D::skipDraw(const gl::State &glState, gl::PrimitiveMode drawMode) in skipDraw() argument
51 bool usesPointSize = GetImplAs<ProgramD3D>(glState.getProgram())->usesPointSize(); in skipDraw()
56 if (!usesPointSize && !glState.isTransformFeedbackActiveUnpaused()) in skipDraw()
65 if (glState.getRasterizerState().cullFace && in skipDraw()
66 glState.getRasterizerState().cullMode == gl::CullFaceMode::FrontAndBack) in skipDraw()
183 unsigned int GetBlendSampleMask(const gl::State &glState, int samples) in GetBlendSampleMask() argument
186 if (glState.isSampleCoverageEnabled()) in GetBlendSampleMask()
188 GLfloat coverageValue = glState.getSampleCoverageValue(); in GetBlendSampleMask()
205 bool coverageInvert = glState.getSampleCoverageInvert(); in GetBlendSampleMask()
216 if (glState.isSampleMaskEnabled()) in GetBlendSampleMask()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DProgramPipelineVk.cpp60 const gl::State &glState = glContext->getState(); in link() local
61 const gl::ProgramPipeline *glPipeline = glState.getProgramPipeline(); in link()
125 const gl::State &glState, in calcUniformUpdateRequiredSpace() argument
131 ProgramVk *programVk = getShaderProgram(glState, shaderType); in calcUniformUpdateRequiredSpace()
144 const gl::State &glState = contextVk->getState(); in updateUniforms() local
145 const gl::ProgramExecutable &glExecutable = *glState.getProgramExecutable(); in updateUniforms()
158 requiredSpace = calcUniformUpdateRequiredSpace(contextVk, glExecutable, glState, &offsets); in updateUniforms()
168 requiredSpace = calcUniformUpdateRequiredSpace(contextVk, glExecutable, glState, &offsets); in updateUniforms()
175 ProgramVk *programVk = getShaderProgram(glState, shaderType); in updateUniforms()
209 vk::GetImpl(glState.getCurrentTransformFeedback()); in updateUniforms()
[all …]
DProgramPipelineVk.h34 ProgramVk *getShaderProgram(const gl::State &glState, gl::ShaderType shaderType) const in getShaderProgram() argument
36 gl::ProgramPipeline *pipeline = glState.getProgramPipeline(); in getShaderProgram()
54 void setAllDefaultUniformsDirty(const gl::State &glState);
55 bool dirtyUniforms(const gl::State &glState);
61 const gl::State &glState,
DContextVk.cpp143 uint32_t GetCoverageSampleCount(const gl::State &glState, FramebufferVk *drawFramebuffer) in GetCoverageSampleCount() argument
145 if (!glState.isSampleCoverageEnabled()) in GetCoverageSampleCount()
162 return static_cast<uint32_t>(glState.getSampleCoverageValue() * drawFramebuffer->getSamples()); in GetCoverageSampleCount()
165 void ApplySampleCoverage(const gl::State &glState, in ApplySampleCoverage() argument
170 if (!glState.isSampleCoverageEnabled()) in ApplySampleCoverage()
180 if (glState.getSampleCoverageInvert()) in ApplySampleCoverage()
3302 void ContextVk::updateScissor(const gl::State &glState) in updateScissor() argument
3304 FramebufferVk *framebufferVk = vk::GetImpl(glState.getDrawFramebuffer()); in updateScissor()
3309 if (!gl::ClipRectangle(renderArea, getCorrectedViewport(glState.getViewport()), in updateScissor()
3333 void ContextVk::updateDepthStencil(const gl::State &glState) in updateDepthStencil() argument
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderStateCache.cpp225 const gl::DepthStencilState &glState, in getDepthStencilState() argument
228 auto keyIter = mDepthStencilStateCache.Get(glState); in getDepthStencilState()
238 dsDesc.DepthEnable = glState.depthTest ? TRUE : FALSE; in getDepthStencilState()
239 dsDesc.DepthWriteMask = ConvertDepthMask(glState.depthMask); in getDepthStencilState()
240 dsDesc.DepthFunc = ConvertComparison(glState.depthFunc); in getDepthStencilState()
241 dsDesc.StencilEnable = glState.stencilTest ? TRUE : FALSE; in getDepthStencilState()
242 dsDesc.StencilReadMask = ConvertStencilMask(glState.stencilMask); in getDepthStencilState()
243 dsDesc.StencilWriteMask = ConvertStencilMask(glState.stencilWritemask); in getDepthStencilState()
244 dsDesc.FrontFace.StencilFailOp = ConvertStencilOp(glState.stencilFail); in getDepthStencilState()
245 dsDesc.FrontFace.StencilDepthFailOp = ConvertStencilOp(glState.stencilPassDepthFail); in getDepthStencilState()
[all …]
/external/angle/src/libANGLE/
DGLES1Renderer.cpp49 angle::Result GLES1Renderer::prepareForDraw(PrimitiveMode mode, Context *context, State *glState) in prepareForDraw() argument
51 ANGLE_TRY(initializeRendererProgram(context, glState)); in prepareForDraw()
53 GLES1State &gles1State = glState->gles1(); in prepareForDraw()
65 glState->getEnableFeature(GL_ALPHA_TEST)); in prepareForDraw()
67 glState->getEnableFeature(GL_LIGHTING)); in prepareForDraw()
69 glState->getEnableFeature(GL_RESCALE_NORMAL)); in prepareForDraw()
71 glState->getEnableFeature(GL_NORMALIZE)); in prepareForDraw()
73 glState->getEnableFeature(GL_COLOR_MATERIAL)); in prepareForDraw()
75 glState->getEnableFeature(GL_FOG)); in prepareForDraw()
80 uniformBuffers.clipPlaneEnables[i] = glState->getEnableFeature(GL_CLIP_PLANE0 + i); in prepareForDraw()
[all …]
/external/angle/src/libANGLE/renderer/metal/
DContextMtl.mm108 bool IsTransformFeedbackOnly(const gl::State &glState)
110 return glState.isTransformFeedbackActiveUnpaused() && glState.isRasterizerDiscardEnabled();
836 const gl::State &glState = context->getState();
860 updateScissor(glState);
864 FramebufferMtl *framebufferMtl = mtl::GetImpl(glState.getDrawFramebuffer());
865 updateViewport(framebufferMtl, glState.getViewport(), glState.getNearPlane(),
866 glState.getFarPlane());
868 updateScissor(glState);
872 updateDepthRange(glState.getNearPlane(), glState.getFarPlane());
878 updateBlendDescArray(glState.getBlendStateExt());
[all …]

123