Home
last modified time | relevance | path

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

/frameworks/native/opengl/libagl/
Dstate.cpp74 ggl_init_context(&(c->rasterizer)); in ogles_init()
91 c->rasterizer.base = base; in ogles_init()
96 c->rasterizer.procs.depthMask(c, 1); in ogles_init()
99 c->rasterizer.procs.enable(c, GL_DITHER); in ogles_init()
113 ggl_uninit_context(&(c->rasterizer)); in ogles_uninit()
114 free(c->rasterizer.base); in ogles_uninit()
193 c->rasterizer.procs.enableDisable(c, cap, enabled); in enable_disable()
196 c->rasterizer.procs.enableDisable(c, GL_TEXTURE_2D, enabled); in enable_disable()
291 c->rasterizer.procs.enableDisable(c, in glHint()
334 if (c->rasterizer.error) { in glGetError()
[all …]
Dtexture.cpp79 c->rasterizer.procs.activeTexture(c, i); in validate_tmu()
80 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in validate_tmu()
81 c->rasterizer.procs.texGeni(c, GGL_S, in validate_tmu()
83 c->rasterizer.procs.texGeni(c, GGL_T, in validate_tmu()
85 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
87 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
89 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
91 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
96 c->rasterizer.procs.disable(c, GGL_TEXTURE_2D); in validate_tmu()
104 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.cpp133 return static_cast<egl_context_t*>(gl->rasterizer.base); in context()
606 gl->rasterizer.procs.colorBuffer(gl, &buffer); in bindDrawSurface()
607 if (depth.data != gl->rasterizer.state.buffers.depth.data) in bindDrawSurface()
608 gl->rasterizer.procs.depthBuffer(gl, &depth); in bindDrawSurface()
621 gl->rasterizer.procs.readBuffer(gl, &buffer); in bindReadSurface()
705 gl->rasterizer.procs.colorBuffer(gl, &buffer); in bindDrawSurface()
706 if (depth.data != gl->rasterizer.state.buffers.depth.data) in bindDrawSurface()
707 gl->rasterizer.procs.depthBuffer(gl, &depth); in bindDrawSurface()
719 gl->rasterizer.procs.readBuffer(gl, &buffer); in bindReadSurface()
788 gl->rasterizer.procs.colorBuffer(gl, &pbuffer); in bindDrawSurface()
[all …]
Darray.cpp1058 if (c->rasterizer.state.texture[i].enable) in clipVertexT()
1086 uint32_t enables = c->rasterizer.state.enables; in validate_arrays()
1095 c->rasterizer.procs.enableDisable(c, GGL_W_LERP, perspective); in validate_arrays()
1110 c->rasterizer.procs.enableDisable(c, GGL_AA, smooth); in validate_arrays()
1113 c->rasterizer.procs.shadeModel(c, in validate_arrays()
1188 if (c->rasterizer.state.texture[i].enable) { in validate_arrays()
1211 enables = c->rasterizer.state.enables; in validate_arrays()
1374 const uint32_t enables = c->rasterizer.state.enables; in glDrawArrays()
1434 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()
Dvertex.cpp137 perspective(c, v, c->rasterizer.state.enables); in ogles_vertex_project()
Dlight.cpp104 c->rasterizer.procs.shadeModel(c, GL_SMOOTH); in ogles_init_light()
872 c->rasterizer.procs.fogColor3xv(c, paramsx); in glFogfv()
882 c->rasterizer.procs.fogColor3xv(c, params); in glFogxv()
Dcontext.h609 context_t rasterizer; member
/frameworks/native/libs/ui/
DRegion.cpp418 class Region::rasterizer : public region_operator<Rect>::region_rasterizer class in android::Region
427 rasterizer(Region& reg) in rasterizer() function in android::Region::rasterizer
432 virtual ~rasterizer();
445 Region::rasterizer::~rasterizer() in ~rasterizer()
463 void Region::rasterizer::operator()(const Rect& rect) in operator ()()
479 void Region::rasterizer::flushSpan() in flushSpan()
605 rasterizer r(dst); in boolean_operation()
717 rasterizer r(dst); in boolean_operation()
/frameworks/native/include/ui/
DRegion.h153 class rasterizer;
154 friend class rasterizer; variable
/frameworks/native/include/private/ui/
DRegionHelper.h74 void operator()(region_rasterizer& rasterizer) { in operator()
86 rasterizer(current); in operator()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1109 public Rasterizer setRasterizer(Rasterizer rasterizer) { in setRasterizer() argument
1111 if (rasterizer != null) { in setRasterizer()
1112 rasterizerNative = rasterizer.native_instance; in setRasterizer()
1115 mRasterizer = rasterizer; in setRasterizer()
1116 return rasterizer; in setRasterizer()
2468 long rasterizer); in native_setRasterizer() argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java907 /*package*/ static long native_setRasterizer(long native_object, long rasterizer) { in native_setRasterizer() argument
911 return rasterizer; in native_setRasterizer()
914 delegate.mRasterizer = Rasterizer_Delegate.getDelegate(rasterizer); in native_setRasterizer()
922 return rasterizer; in native_setRasterizer()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp351 SkAutoTUnref<SkRasterizer> rasterizer(GraphicsJNI::refNativeRasterizer(rasterizerHandle)); in setRasterizer() local
352 return reinterpret_cast<jlong>(obj->setRasterizer(rasterizer)); in setRasterizer()