OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrGLProcessor
(Results
1 - 17
of
17
) sorted by null
/external/chromium_org/third_party/skia/src/gpu/gl/
GrGLGeometryProcessor.h
11
#include "
GrGLProcessor
.h"
18
class GrGLGeometryProcessor : public
GrGLProcessor
{
36
typedef
GrGLProcessor
INHERITED;
GrGLProcessor.h
18
include/gpu/GrProcessor.h. Objects of type
GrGLProcessor
are responsible for emitting the
25
The
GrGLProcessor
subclass must also have a constructor of the form:
31
class
GrGLProcessor
{
33
GrGLProcessor
(const GrBackendProcessorFactory& factory)
72
virtual ~
GrGLProcessor
() {}
74
/** A
GrGLProcessor
instance can be reused with any GrProcessor that produces the same stage
77
guaranteed to be of the same type that created this
GrGLProcessor
and to have an identical
78
effect key as the one that created this
GrGLProcessor
. Effects that use local coords have
91
class GrGLFragmentProcessor : public
GrGLProcessor
{
126
typedef
GrGLProcessor
INHERITED
[
all
...]
GrGLProgramEffects.h
76
void addEffect(
GrGLProcessor
* effect) { fGLProcessors.push_back(effect); }
79
SkTArray<
GrGLProcessor
*> fGLProcessors;
GrGLProgramEffects.cpp
9
#include "gl/
GrGLProcessor
.h"
16
typedef
GrGLProcessor
::TransformedCoords TransformedCoords;
17
typedef
GrGLProcessor
::TransformedCoordsArray TransformedCoordsArray;
18
typedef
GrGLProcessor
::TextureSampler TextureSampler;
19
typedef
GrGLProcessor
::TextureSamplerArray TextureSamplerArray;
GrGLProgram.h
23
class
GrGLProcessor
;
150
* This function uploads uniforms and calls each
GrGLProcessor
's setData. It is called before a
/external/chromium_org/third_party/skia/src/gpu/gl/builders/
GrGLFragmentOnlyProgramBuilder.cpp
68
SkSTArray<2,
GrGLProcessor
::TransformedCoords> coords(effect.numTransforms());
69
SkSTArray<4,
GrGLProcessor
::TextureSampler> samplers(effect.numTextures());
75
GrGLProcessor
* glEffect = fEffectEmitter->createGLInstance();
90
const GrProcessorStage& effectStage,
GrGLProcessor
::TransformedCoordsArray* outCoords) {
104
SkNEW_APPEND_TO_TARRAY(outCoords,
GrGLProcessor
::TransformedCoords, (name, type));
GrGLFragmentOnlyProgramBuilder.h
45
void setupPathTexGen(const GrProcessorStage&,
GrGLProcessor
::TransformedCoordsArray*);
GrGLFullProgramBuilder.h
71
virtual
GrGLProcessor
* createGLInstance() {
81
const
GrGLProcessor
::TransformedCoordsArray& coords,
82
const
GrGLProcessor
::TextureSamplerArray& samplers) {
111
GrGLProcessor
::TransformedCoordsArray* outCoords);
GrGLFragmentShaderBuilder.h
42
virtual SkString ensureFSCoords2D(const
GrGLProcessor
::TransformedCoordsArray& coords,
90
virtual SkString ensureFSCoords2D(const
GrGLProcessor
::TransformedCoordsArray& coords,
GrGLProgramBuilder.h
19
#include "gl/
GrGLProcessor
.h"
174
GrGLProcessor
::TextureSamplerArray* outSamplers);
243
virtual
GrGLProcessor
* createGLInstance() = 0;
247
const
GrGLProcessor
::TransformedCoordsArray& coords,
248
const
GrGLProcessor
::TextureSamplerArray& samplers) = 0;
262
virtual
GrGLProcessor
* createGLInstance() {
272
const
GrGLProcessor
::TransformedCoordsArray& coords,
273
const
GrGLProcessor
::TextureSamplerArray& samplers) {
GrGLShaderBuilder.h
33
typedef
GrGLProcessor
::TransformedCoordsArray TransformedCoordsArray;
34
typedef
GrGLProcessor
::TextureSampler TextureSampler;
GrGLFullProgramBuilder.cpp
115
SkSTArray<2,
GrGLProcessor
::TransformedCoords> coords(effect.numTransforms());
116
SkSTArray<4,
GrGLProcessor
::TextureSampler> samplers(effect.numTextures());
122
GrGLProcessor
* glEffect = fEffectEmitter->createGLInstance();
138
GrGLProcessor
::TransformedCoordsArray* outCoords) {
202
SkNEW_APPEND_TO_TARRAY(outCoords,
GrGLProcessor
::TransformedCoords,
GrGLProgramBuilder.cpp
214
GrGLProcessor
::TextureSamplerArray* outSamplers) {
225
SkNEW_APPEND_TO_TARRAY(outSamplers,
GrGLProcessor
::TextureSampler,
GrGLFragmentShaderBuilder.cpp
89
SkDEBUGFAIL("
GrGLProcessor
asked for dst color but its generating GrProcessor "
127
const
GrGLProcessor
::TransformedCoordsArray& coords, int index) {
147
SkDEBUGFAIL("
GrGLProcessor
asked for frag position but its generating GrProcessor "
/external/chromium_org/third_party/skia/include/gpu/
GrBackendProcessorFactory.h
17
class
GrGLProcessor
;
52
* This class is used to pass the key that was created for a
GrGLProcessor
back to it
153
* Creates a
GrGLProcessor
instance that is used both to generate code for the GrProcessor in a
162
* Creates a
GrGLProcessor
instance that is used both to generate code for the GrProcessor in a
/external/chromium_org/third_party/skia/src/gpu/effects/
GrTextureDomain.h
12
#include "gl/
GrGLProcessor
.h"
76
* A
GrGLProcessor
subclass that corresponds to a GrProcessor subclass that uses GrTextureDomain
89
* Call this from
GrGLProcessor
::emitCode() to sample the texture W.R.T. the domain and
102
const
GrGLProcessor
::TextureSampler sampler,
106
* Call this from
GrGLProcessor
::setData() to upload uniforms necessary for the texture
117
*
GrGLProcessor
::GenKey() must call this and include the returned value in it's computed
GrTextureDomain.cpp
12
#include "gl/
GrGLProcessor
.h"
47
const
GrGLProcessor
::TextureSampler sampler,
Completed in 177 milliseconds