Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 25 of 3370) sorted by relevance

12345678910>>...135

/external/deqp/modules/gles31/functional/
Des31fNegativeVertexArrayApiTests.cpp59 void vertex_attribf (NegativeTestContext& ctx) in vertex_attribf() argument
61ctx.beginSection("GL_INVALID_VALUE is generated if index is greater than or equal to GL_MAX_VERTEX… in vertex_attribf()
62 int maxVertexAttribs = ctx.getInteger(GL_MAX_VERTEX_ATTRIBS); in vertex_attribf()
63 ctx.glVertexAttrib1f(maxVertexAttribs, 0.0f); in vertex_attribf()
64 ctx.expectError(GL_INVALID_VALUE); in vertex_attribf()
65 ctx.glVertexAttrib2f(maxVertexAttribs, 0.0f, 0.0f); in vertex_attribf()
66 ctx.expectError(GL_INVALID_VALUE); in vertex_attribf()
67 ctx.glVertexAttrib3f(maxVertexAttribs, 0.0f, 0.0f, 0.0f); in vertex_attribf()
68 ctx.expectError(GL_INVALID_VALUE); in vertex_attribf()
69 ctx.glVertexAttrib4f(maxVertexAttribs, 0.0f, 0.0f, 0.0f, 0.0f); in vertex_attribf()
[all …]
Des31fNegativeBufferApiTests.cpp46 void bind_buffer (NegativeTestContext& ctx) in bind_buffer() argument
48 ctx.beginSection("GL_INVALID_ENUM is generated if target is not one of the allowable values."); in bind_buffer()
49 ctx.glBindBuffer(-1, 0); in bind_buffer()
50 ctx.expectError(GL_INVALID_ENUM); in bind_buffer()
51 ctx.endSection(); in bind_buffer()
54 void delete_buffers (NegativeTestContext& ctx) in delete_buffers() argument
56 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative."); in delete_buffers()
57 ctx.glDeleteBuffers(-1, 0); in delete_buffers()
58 ctx.expectError(GL_INVALID_VALUE); in delete_buffers()
59 ctx.endSection(); in delete_buffers()
[all …]
Des31fNegativeTextureApiTests.cpp89 void activetexture (NegativeTestContext& ctx) in activetexture() argument
91ctx.beginSection("GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi, where i range… in activetexture()
92 ctx.glActiveTexture(-1); in activetexture()
93 ctx.expectError(GL_INVALID_ENUM); in activetexture()
94 int numMaxTextureUnits = ctx.getInteger(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS); in activetexture()
95 ctx.glActiveTexture(GL_TEXTURE0 + numMaxTextureUnits); in activetexture()
96 ctx.expectError(GL_INVALID_ENUM); in activetexture()
97 ctx.endSection(); in activetexture()
102 void bindtexture (NegativeTestContext& ctx) in bindtexture() argument
105 ctx.glGenTextures(2, texture); in bindtexture()
[all …]
Des31fNegativeShaderApiTests.cpp89 void create_shader (NegativeTestContext& ctx) in create_shader() argument
91 ctx.beginSection("GL_INVALID_ENUM is generated if shaderType is not an accepted value."); in create_shader()
92 ctx.glCreateShader(-1); in create_shader()
93 ctx.expectError(GL_INVALID_ENUM); in create_shader()
94 ctx.endSection(); in create_shader()
97 void shader_source (NegativeTestContext& ctx) in shader_source() argument
101 ctx.beginSection("GL_INVALID_VALUE is generated if shader is not a value generated by OpenGL."); in shader_source()
102 ctx.glShaderSource(1, 0, 0, 0); in shader_source()
103 ctx.expectError(GL_INVALID_VALUE); in shader_source()
104 ctx.endSection(); in shader_source()
[all …]
Des31fNegativeFragmentApiTests.cpp46 void scissor (NegativeTestContext& ctx) in scissor() argument
48 ctx.beginSection("GL_INVALID_VALUE is generated if either width or height is negative."); in scissor()
49 ctx.glScissor(0, 0, -1, 0); in scissor()
50 ctx.expectError(GL_INVALID_VALUE); in scissor()
51 ctx.glScissor(0, 0, 0, -1); in scissor()
52 ctx.expectError(GL_INVALID_VALUE); in scissor()
53 ctx.glScissor(0, 0, -1, -1); in scissor()
54 ctx.expectError(GL_INVALID_VALUE); in scissor()
55 ctx.endSection(); in scissor()
58 void depth_func (NegativeTestContext& ctx) in depth_func() argument
[all …]
Des31fNegativeStateApiTests.cpp65 void enable (NegativeTestContext& ctx) in enable() argument
67 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values."); in enable()
68 ctx.glEnable(-1); in enable()
69 ctx.expectError(GL_INVALID_ENUM); in enable()
70 ctx.endSection(); in enable()
73 void disable (NegativeTestContext& ctx) in disable() argument
75 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values."); in disable()
76 ctx.glDisable(-1); in disable()
77 ctx.expectError(GL_INVALID_ENUM); in disable()
78 ctx.endSection(); in disable()
[all …]
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_sha1.c41 sctp_sha1_init(struct sctp_sha1_context *ctx) in sctp_sha1_init() argument
43 ctx->pk11_ctx = PK11_CreateDigestContext(SEC_OID_SHA1); in sctp_sha1_init()
44 PK11_DigestBegin(ctx->pk11_ctx); in sctp_sha1_init()
48 sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz) in sctp_sha1_update() argument
50 PK11_DigestOp(ctx->pk11_ctx, ptr, siz); in sctp_sha1_update()
54 sctp_sha1_final(unsigned char *digest, struct sctp_sha1_context *ctx) in sctp_sha1_final() argument
58 PK11_DigestFinal(ctx->pk11_ctx, digest, &output_len, SHA_DIGEST_LENGTH); in sctp_sha1_final()
59 PK11_DestroyContext(ctx->pk11_ctx, PR_TRUE); in sctp_sha1_final()
65 sctp_sha1_init(struct sctp_sha1_context *ctx) in sctp_sha1_init() argument
67 SHA1_Init(&ctx->sha_ctx); in sctp_sha1_init()
[all …]
/external/e2fsprogs/e2fsck/
De2fsck.c54 errcode_t e2fsck_reset_context(e2fsck_t ctx) in e2fsck_reset_context() argument
58 ctx->flags &= E2F_RESET_FLAGS; in e2fsck_reset_context()
59 ctx->lost_and_found = 0; in e2fsck_reset_context()
60 ctx->bad_lost_and_found = 0; in e2fsck_reset_context()
61 if (ctx->inode_used_map) { in e2fsck_reset_context()
62 ext2fs_free_inode_bitmap(ctx->inode_used_map); in e2fsck_reset_context()
63 ctx->inode_used_map = 0; in e2fsck_reset_context()
65 if (ctx->inode_dir_map) { in e2fsck_reset_context()
66 ext2fs_free_inode_bitmap(ctx->inode_dir_map); in e2fsck_reset_context()
67 ctx->inode_dir_map = 0; in e2fsck_reset_context()
[all …]
/external/mesa3d/src/mesa/main/
Dstate.c57 update_separate_specular(struct gl_context *ctx) in update_separate_specular() argument
59 if (_mesa_need_secondary_color(ctx)) in update_separate_specular()
60 ctx->_TriangleCaps |= DD_SEPARATE_SPECULAR; in update_separate_specular()
62 ctx->_TriangleCaps &= ~DD_SEPARATE_SPECULAR; in update_separate_specular()
74 update_program_enables(struct gl_context *ctx) in update_program_enables() argument
80 ctx->VertexProgram._Enabled = ctx->VertexProgram.Enabled in update_program_enables()
81 && ctx->VertexProgram.Current->Base.Instructions; in update_program_enables()
82 ctx->FragmentProgram._Enabled = ctx->FragmentProgram.Enabled in update_program_enables()
83 && ctx->FragmentProgram.Current->Base.Instructions; in update_program_enables()
84 ctx->ATIFragmentShader._Enabled = ctx->ATIFragmentShader.Enabled in update_program_enables()
[all …]
Dfeedback.c56 GET_CURRENT_CONTEXT(ctx); in _mesa_FeedbackBuffer()
57 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_FeedbackBuffer()
59 if (ctx->RenderMode==GL_FEEDBACK) { in _mesa_FeedbackBuffer()
60 _mesa_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); in _mesa_FeedbackBuffer()
64 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); in _mesa_FeedbackBuffer()
68 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); in _mesa_FeedbackBuffer()
69 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer()
75 ctx->Feedback._Mask = 0; in _mesa_FeedbackBuffer()
78 ctx->Feedback._Mask = FB_3D; in _mesa_FeedbackBuffer()
81 ctx->Feedback._Mask = (FB_3D | FB_COLOR); in _mesa_FeedbackBuffer()
[all …]
Dstencil.c59 validate_stencil_op(struct gl_context *ctx, GLenum op) in validate_stencil_op() argument
78 validate_stencil_func(struct gl_context *ctx, GLenum func) in validate_stencil_func() argument
110 GET_CURRENT_CONTEXT(ctx); in _mesa_ClearStencil()
111 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_ClearStencil()
113 if (ctx->Stencil.Clear == (GLuint) s) in _mesa_ClearStencil()
116 FLUSH_VERTICES(ctx, _NEW_STENCIL); in _mesa_ClearStencil()
117 ctx->Stencil.Clear = (GLuint) s; in _mesa_ClearStencil()
138 GET_CURRENT_CONTEXT(ctx); in _mesa_StencilFuncSeparateATI()
139 const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in _mesa_StencilFuncSeparateATI()
140 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_StencilFuncSeparateATI()
[all …]
Dpixelstore.c43 GET_CURRENT_CONTEXT(ctx); in _mesa_PixelStorei()
44 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_PixelStorei()
48 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
50 if (param == (GLint)ctx->Pack.SwapBytes) in _mesa_PixelStorei()
52 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); in _mesa_PixelStorei()
53 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
56 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
58 if (param == (GLint)ctx->Pack.LsbFirst) in _mesa_PixelStorei()
60 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); in _mesa_PixelStorei()
61 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dstate.c57 update_separate_specular(struct gl_context *ctx) in update_separate_specular() argument
59 if (_mesa_need_secondary_color(ctx)) in update_separate_specular()
60 ctx->_TriangleCaps |= DD_SEPARATE_SPECULAR; in update_separate_specular()
62 ctx->_TriangleCaps &= ~DD_SEPARATE_SPECULAR; in update_separate_specular()
74 update_program_enables(struct gl_context *ctx) in update_program_enables() argument
80 ctx->VertexProgram._Enabled = ctx->VertexProgram.Enabled in update_program_enables()
81 && ctx->VertexProgram.Current->Base.Instructions; in update_program_enables()
82 ctx->FragmentProgram._Enabled = ctx->FragmentProgram.Enabled in update_program_enables()
83 && ctx->FragmentProgram.Current->Base.Instructions; in update_program_enables()
84 ctx->ATIFragmentShader._Enabled = ctx->ATIFragmentShader.Enabled in update_program_enables()
[all …]
Dfeedback.c56 GET_CURRENT_CONTEXT(ctx); in _mesa_FeedbackBuffer()
57 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_FeedbackBuffer()
59 if (ctx->RenderMode==GL_FEEDBACK) { in _mesa_FeedbackBuffer()
60 _mesa_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); in _mesa_FeedbackBuffer()
64 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); in _mesa_FeedbackBuffer()
68 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); in _mesa_FeedbackBuffer()
69 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer()
75 ctx->Feedback._Mask = 0; in _mesa_FeedbackBuffer()
78 ctx->Feedback._Mask = FB_3D; in _mesa_FeedbackBuffer()
81 ctx->Feedback._Mask = (FB_3D | FB_COLOR); in _mesa_FeedbackBuffer()
[all …]
Dstencil.c59 validate_stencil_op(struct gl_context *ctx, GLenum op) in validate_stencil_op() argument
78 validate_stencil_func(struct gl_context *ctx, GLenum func) in validate_stencil_func() argument
110 GET_CURRENT_CONTEXT(ctx); in _mesa_ClearStencil()
111 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_ClearStencil()
113 if (ctx->Stencil.Clear == (GLuint) s) in _mesa_ClearStencil()
116 FLUSH_VERTICES(ctx, _NEW_STENCIL); in _mesa_ClearStencil()
117 ctx->Stencil.Clear = (GLuint) s; in _mesa_ClearStencil()
138 GET_CURRENT_CONTEXT(ctx); in _mesa_StencilFuncSeparateATI()
139 const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in _mesa_StencilFuncSeparateATI()
140 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_StencilFuncSeparateATI()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
Dnouveau_state.c36 nouveau_alpha_func(struct gl_context *ctx, GLenum func, GLfloat ref) in nouveau_alpha_func() argument
38 context_dirty(ctx, ALPHA_FUNC); in nouveau_alpha_func()
42 nouveau_blend_color(struct gl_context *ctx, const GLfloat color[4]) in nouveau_blend_color() argument
44 context_dirty(ctx, BLEND_COLOR); in nouveau_blend_color()
48 nouveau_blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA) in nouveau_blend_equation_separate() argument
50 context_dirty(ctx, BLEND_EQUATION); in nouveau_blend_equation_separate()
54 nouveau_blend_func_separate(struct gl_context *ctx, GLenum sfactorRGB, in nouveau_blend_func_separate() argument
57 context_dirty(ctx, BLEND_FUNC); in nouveau_blend_func_separate()
61 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation) in nouveau_clip_plane() argument
63 context_dirty_i(ctx, CLIP_PLANE, plane - GL_CLIP_PLANE0); in nouveau_clip_plane()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_state.c36 nouveau_alpha_func(struct gl_context *ctx, GLenum func, GLfloat ref) in nouveau_alpha_func() argument
38 context_dirty(ctx, ALPHA_FUNC); in nouveau_alpha_func()
42 nouveau_blend_color(struct gl_context *ctx, const GLfloat color[4]) in nouveau_blend_color() argument
44 context_dirty(ctx, BLEND_COLOR); in nouveau_blend_color()
48 nouveau_blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA) in nouveau_blend_equation_separate() argument
50 context_dirty(ctx, BLEND_EQUATION); in nouveau_blend_equation_separate()
54 nouveau_blend_func_separate(struct gl_context *ctx, GLenum sfactorRGB, in nouveau_blend_func_separate() argument
57 context_dirty(ctx, BLEND_FUNC); in nouveau_blend_func_separate()
61 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation) in nouveau_clip_plane() argument
63 context_dirty_i(ctx, CLIP_PLANE, plane - GL_CLIP_PLANE0); in nouveau_clip_plane()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
Dcso_context.c123 static boolean delete_blend_state(struct cso_context *ctx, void *state) in delete_blend_state() argument
127 if (ctx->blend == cso->data) in delete_blend_state()
136 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state) in delete_depth_stencil_state() argument
141 if (ctx->depth_stencil == cso->data) in delete_depth_stencil_state()
151 static boolean delete_sampler_state(struct cso_context *ctx, void *state) in delete_sampler_state() argument
160 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state) in delete_rasterizer_state() argument
164 if (ctx->rasterizer == cso->data) in delete_rasterizer_state()
172 static boolean delete_vertex_elements(struct cso_context *ctx, in delete_vertex_elements() argument
177 if (ctx->velements == cso->data) in delete_vertex_elements()
187 static INLINE boolean delete_cso(struct cso_context *ctx, in delete_cso() argument
[all …]
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c123 static boolean delete_blend_state(struct cso_context *ctx, void *state) in delete_blend_state() argument
127 if (ctx->blend == cso->data) in delete_blend_state()
136 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state) in delete_depth_stencil_state() argument
141 if (ctx->depth_stencil == cso->data) in delete_depth_stencil_state()
151 static boolean delete_sampler_state(struct cso_context *ctx, void *state) in delete_sampler_state() argument
160 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state) in delete_rasterizer_state() argument
164 if (ctx->rasterizer == cso->data) in delete_rasterizer_state()
172 static boolean delete_vertex_elements(struct cso_context *ctx, in delete_vertex_elements() argument
177 if (ctx->velements == cso->data) in delete_vertex_elements()
187 static INLINE boolean delete_cso(struct cso_context *ctx, in delete_cso() argument
[all …]

12345678910>>...135