Home
last modified time | relevance | path

Searched refs:rasterizer (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/opengl/libagl/
Dstate.cpp73 ggl_init_context(&(c->rasterizer)); in ogles_init()
90 c->rasterizer.base = base; in ogles_init()
95 c->rasterizer.procs.depthMask(c, 1); in ogles_init()
98 c->rasterizer.procs.enable(c, GL_DITHER); in ogles_init()
112 ggl_uninit_context(&(c->rasterizer)); in ogles_uninit()
113 free(c->rasterizer.base); in ogles_uninit()
192 c->rasterizer.procs.enableDisable(c, cap, enabled); in enable_disable()
195 c->rasterizer.procs.enableDisable(c, GL_TEXTURE_2D, enabled); in enable_disable()
290 c->rasterizer.procs.enableDisable(c, in glHint()
333 if (c->rasterizer.error) { in glGetError()
[all …]
Dtexture.cpp80 c->rasterizer.procs.activeTexture(c, i); in validate_tmu()
81 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in validate_tmu()
82 c->rasterizer.procs.texGeni(c, GGL_S, in validate_tmu()
84 c->rasterizer.procs.texGeni(c, GGL_T, in validate_tmu()
86 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
88 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
90 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
92 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
97 c->rasterizer.procs.disable(c, GGL_TEXTURE_2D); in validate_tmu()
105 if (c->rasterizer.state.texture[i].enable) in ogles_validate_texture()
[all …]
Dprimitives.cpp106 c->rasterizer.procs.color4xv(c, v2->color.v); in lightTriangleDarkFlat()
126 c->rasterizer.procs.color4xv(c, v2->color.v); in lightTriangleFlat()
174 c->rasterizer.procs.color4xv(c, v2->color.v); in lightTriangleDarkFlatFog()
192 c->rasterizer.procs.color4xv(c, v2->color.v); in lightTriangleFlatFog()
214 const uint32_t enables = c->rasterizer.state.enables; in ogles_validate_primitives()
397 if (!(c->rasterizer.state.texture[i].enable)) in fetch_texcoord_impl()
438 const uint32_t enables = c->rasterizer.state.enables; in fetch_texcoord()
462 const uint32_t enables = c->rasterizer.state.enables; in primitive_point()
480 c->rasterizer.procs.color4xv(c, v->color.v); in primitive_point()
486 if (!c->rasterizer.state.texture[i].enable) in primitive_point()
[all …]
Degl.cpp127 return static_cast<egl_context_t*>(gl->rasterizer.base); in context()
578 gl->rasterizer.procs.colorBuffer(gl, &buffer); in bindDrawSurface()
579 if (depth.data != gl->rasterizer.state.buffers.depth.data) in bindDrawSurface()
580 gl->rasterizer.procs.depthBuffer(gl, &depth); in bindDrawSurface()
593 gl->rasterizer.procs.readBuffer(gl, &buffer); in bindReadSurface()
670 gl->rasterizer.procs.colorBuffer(gl, &buffer); in bindDrawSurface()
671 if (depth.data != gl->rasterizer.state.buffers.depth.data) in bindDrawSurface()
672 gl->rasterizer.procs.depthBuffer(gl, &depth); in bindDrawSurface()
684 gl->rasterizer.procs.readBuffer(gl, &buffer); in bindReadSurface()
746 gl->rasterizer.procs.colorBuffer(gl, &pbuffer); in bindDrawSurface()
[all …]
Darray.cpp1054 if (c->rasterizer.state.texture[i].enable) in clipVertexT()
1082 uint32_t enables = c->rasterizer.state.enables; in validate_arrays()
1091 c->rasterizer.procs.enableDisable(c, GGL_W_LERP, perspective); in validate_arrays()
1106 c->rasterizer.procs.enableDisable(c, GGL_AA, smooth); in validate_arrays()
1109 c->rasterizer.procs.shadeModel(c, in validate_arrays()
1184 if (c->rasterizer.state.texture[i].enable) { in validate_arrays()
1207 enables = c->rasterizer.state.enables; in validate_arrays()
1370 const uint32_t enables = c->rasterizer.state.enables; in glDrawArrays()
1430 const uint32_t enables = c->rasterizer.state.enables; in glDrawElements()
Dmipmap.cpp34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]); in buildAPyramid()
Dmatrix.cpp98 const uint32_t enables = c->rasterizer.state.enables; in validate_perspective()
676 y = c->rasterizer.state.buffers.color.height - (y + h); in ogles_scissor()
677 c->rasterizer.procs.scissor(c, x, y, w, h); in ogles_scissor()
696 GLint H = c->rasterizer.state.buffers.color.height; in ogles_viewport()
Dlight.cpp104 c->rasterizer.procs.shadeModel(c, GL_SMOOTH); in ogles_init_light()
865 c->rasterizer.procs.fogColor3xv(c, paramsx); in glFogfv()
875 c->rasterizer.procs.fogColor3xv(c, params); in glFogxv()
Dvertex.cpp137 perspective(c, v, c->rasterizer.state.enables); in ogles_vertex_project()
/frameworks/base/opengl/libagl2/src/
Dstate.cpp7 assert((void *)&rasterizer == &rasterizer.interface); in GLES2Context()
8 InitializeGGLState(&rasterizer.interface); in GLES2Context()
9 iface = &rasterizer.interface; in GLES2Context()
10 …printf("gl->rasterizer.PickScanLine(%p) = %p \n", &rasterizer.PickScanLine, rasterizer.PickScanLin… in GLES2Context()
11 assert(rasterizer.PickRaster); in GLES2Context()
12 assert(rasterizer.PickScanLine); in GLES2Context()
22 UninitializeGGLState(&rasterizer.interface); in ~GLES2Context()
Dshader.cpp132 …int sampler = ctx->iface->ShaderUniform(ctx->rasterizer.CurrentProgram, location, 1, &x, GL_FLOAT); in glUniform1f()
140 …int sampler = ctx->iface->ShaderUniform(ctx->rasterizer.CurrentProgram, location, 1, params, GL_IN… in glUniform1i()
155 ctx->iface->ShaderUniform(ctx->rasterizer.CurrentProgram, location, 1, params, GL_FLOAT_VEC2); in glUniform2f()
163 ctx->iface->ShaderUniform(ctx->rasterizer.CurrentProgram, location, 1, params, GL_FLOAT_VEC4); in glUniform4f()
176 …ctx->iface->ShaderUniformMatrix(ctx->rasterizer.CurrentProgram, 4, 4, location, count, transpose, … in glUniformMatrix4fv()
Dtexture.cpp211 assert(texFormat == ctx->rasterizer.frameSurface.format); in glCopyTexImage2D()
216 assert(y + height <= ctx->rasterizer.frameSurface.height); in glCopyTexImage2D()
217 assert(x + width <= ctx->rasterizer.frameSurface.width); in glCopyTexImage2D()
226 … CopyTexture((char *)tex.levels, (const char *)ctx->rasterizer.frameSurface.data, bytesPerPixel, in glCopyTexImage2D()
227 x, y, ctx->rasterizer.frameSurface.width, 0, 0, width, width, height); in glCopyTexImage2D()
251 assert(tex.format == ctx->rasterizer.frameSurface.format); in glCopyTexSubImage2D()
254 const unsigned srcWidth = ctx->rasterizer.frameSurface.width; in glCopyTexSubImage2D()
255 const unsigned srcHeight = ctx->rasterizer.frameSurface.height; in glCopyTexSubImage2D()
266 … CopyTexture((char *)tex.levels, (const char *)ctx->rasterizer.frameSurface.data, bytesPerPixel, in glCopyTexSubImage2D()
Degl.cpp567 gl->rasterizer.interface.SetBuffer(&gl->rasterizer.interface, GL_COLOR_BUFFER_BIT, &buffer); in bindDrawSurface()
568 if (depth.data != gl->rasterizer.depthSurface.data) in bindDrawSurface()
569 gl->rasterizer.interface.SetBuffer(&gl->rasterizer.interface, GL_DEPTH_BUFFER_BIT, &depth); in bindDrawSurface()
668 gl->rasterizer.interface.SetBuffer(&gl->rasterizer.interface, GL_COLOR_BUFFER_BIT, &buffer); in bindDrawSurface()
669 if (depth.data != gl->rasterizer.depthSurface.data) in bindDrawSurface()
670 gl->rasterizer.interface.SetBuffer(&gl->rasterizer.interface, GL_DEPTH_BUFFER_BIT, &depth); in bindDrawSurface()
759 gl->rasterizer.interface.SetBuffer(&gl->rasterizer.interface, GL_COLOR_BUFFER_BIT, &pbuffer); in bindDrawSurface()
760 if (depth.data != gl->rasterizer.depthSurface.data) in bindDrawSurface()
761 gl->rasterizer.interface.SetBuffer(&gl->rasterizer.interface, GL_DEPTH_BUFFER_BIT, &depth); in bindDrawSurface()
1815 gl->rasterizer.interface.Viewport(&gl->rasterizer.interface, 0, 0, w, h); in eglMakeCurrent()
Dvertex.cpp224 assert(ctx->rasterizer.CurrentProgram); in glDrawArrays()
227 ctx->iface->ShaderProgramGetiv(ctx->rasterizer.CurrentProgram, GL_ACTIVE_ATTRIBUTES, &maxAttrib); in glDrawArrays()
249 if (!ctx->rasterizer.CurrentProgram) in glDrawElements()
253 ctx->iface->ShaderProgramGetiv(ctx->rasterizer.CurrentProgram, GL_ACTIVE_ATTRIBUTES, &maxAttrib); in glDrawElements()
Dgles2context.h109 GGLContext rasterizer; member
/frameworks/base/include/ui/
DRegion.h128 class rasterizer;
129 friend class rasterizer; variable
/frameworks/base/libs/ui/
DRegion.cpp241 class Region::rasterizer : public region_operator<Rect>::region_rasterizer class in android::Region
250 rasterizer(Region& reg) in rasterizer() function in android::Region::rasterizer
258 ~rasterizer() { in ~rasterizer()
389 rasterizer r(dst); in boolean_operation()
498 rasterizer r(dst); in boolean_operation()
/frameworks/base/graphics/java/android/graphics/
DPaint.java987 public Rasterizer setRasterizer(Rasterizer rasterizer) { in setRasterizer() argument
989 if (rasterizer != null) { in setRasterizer()
990 rasterizerNative = rasterizer.native_instance; in setRasterizer()
993 mRasterizer = rasterizer; in setRasterizer()
994 return rasterizer; in setRasterizer()
2139 int rasterizer); in native_setRasterizer() argument
/frameworks/base/include/private/ui/
DRegionHelper.h74 void operator()(region_rasterizer& rasterizer) { in operator()
86 rasterizer(current); in operator()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java866 /*package*/ static int native_setRasterizer(int native_object, int rasterizer) { in native_setRasterizer() argument
870 return rasterizer; in native_setRasterizer()
873 delegate.mRasterizer = Rasterizer_Delegate.getDelegate(rasterizer); in native_setRasterizer()
881 return rasterizer; in native_setRasterizer()
/frameworks/base/include/private/opengles/
Dgl_context.h605 context_t rasterizer; member
/frameworks/base/docs/html/guide/basics/
Dwhat-is-android.jd109 rasterizer</li>
/frameworks/base/core/jni/android/graphics/
DPaint.cpp245 …c SkRasterizer* setRasterizer(JNIEnv* env, jobject clazz, SkPaint* obj, SkRasterizer* rasterizer) { in setRasterizer() argument
246 return obj->setRasterizer(rasterizer); in setRasterizer()